diff --git a/feed.xml b/feed.xml index 36aef13b5f..0fce32a57f 100644 --- a/feed.xml +++ b/feed.xml @@ -8,7 +8,7 @@ React v15.0 Release Candidate - <p>Sorry for the small delay in releasing this. As we said, we&#39;ve been busy binge-watching House of Cards. That scene in the last episode where Francis and Claire Underwood <abbr title="You didn't think we would actually spoil anything did you?">████████████████████████████████████</abbr>. WOW!</p> + <p>Sorry for the small delay in releasing this. As we said, we&#39;ve been busy binge-watching House of Cards. That scene in the last episode where Francis and Claire Underwood <abbr title="You didn't think we would actually spoil anything did you?">████████████████████████████████████</abbr>. WOW!</p> <p>But now we&#39;re ready, so without further ado, we&#39;re shipping a release candidate for React v15 now. As a reminder, <a href="/react/blog/2016/02/19/new-versioning-scheme.html">we&#39;re switching to major versions</a> to indicate that we have been using React in production for a long time. This 15.0 release follows our previous 0.14 version and we&#39;ll continue to follow semver like we&#39;ve been doing since 2013. It&#39;s also worth noting that <a href="/react/blog/2016/01/12/discontinuing-ie8-support.html">we no longer actively support Internet Explorer 8</a>. We believe React will work in its current form there but we will not be prioritizing any efforts to fix new issues that only affect IE8.</p> diff --git a/js/examples/hello.js b/js/examples/hello.js deleted file mode 100644 index 1867348cf0..0000000000 --- a/js/examples/hello.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var HELLO_COMPONENT = '\nvar HelloMessage = React.createClass({\n render: function() {\n return
Hello {this.props.name}
;\n }\n});\n\nReactDOM.render(, mountNode);\n'; - -ReactDOM.render(React.createElement(ReactPlayground, { codeText: HELLO_COMPONENT }), document.getElementById('helloExample')); \ No newline at end of file diff --git a/js/examples/markdown.js b/js/examples/markdown.js deleted file mode 100644 index e9bad467dc..0000000000 --- a/js/examples/markdown.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var MARKDOWN_COMPONENT = '\nvar MarkdownEditor = React.createClass({\n getInitialState: function() {\n return {value: \'Type some *markdown* here!\'};\n },\n handleChange: function() {\n this.setState({value: this.refs.textarea.value});\n },\n rawMarkup: function() {\n return { __html: marked(this.state.value, {sanitize: true}) };\n },\n render: function() {\n return (\n
\n

Input

\n \n

Output

\n \n
\n );\n }\n});\n\nReactDOM.render(, mountNode);\n'; - -ReactDOM.render(React.createElement(ReactPlayground, { codeText: MARKDOWN_COMPONENT }), document.getElementById('markdownExample')); \ No newline at end of file diff --git a/js/examples/timer.js b/js/examples/timer.js deleted file mode 100644 index e4a99f8772..0000000000 --- a/js/examples/timer.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var TIMER_COMPONENT = '\nvar Timer = React.createClass({\n getInitialState: function() {\n return {secondsElapsed: 0};\n },\n tick: function() {\n this.setState({secondsElapsed: this.state.secondsElapsed + 1});\n },\n componentDidMount: function() {\n this.interval = setInterval(this.tick, 1000);\n },\n componentWillUnmount: function() {\n clearInterval(this.interval);\n },\n render: function() {\n return (\n
Seconds Elapsed: {this.state.secondsElapsed}
\n );\n }\n});\n\nReactDOM.render(, mountNode);\n'; - -ReactDOM.render(React.createElement(ReactPlayground, { codeText: TIMER_COMPONENT }), document.getElementById('timerExample')); \ No newline at end of file diff --git a/js/examples/todo.js b/js/examples/todo.js deleted file mode 100644 index 7a2d4d8ddb..0000000000 --- a/js/examples/todo.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var TODO_COMPONENT = '\nvar TodoList = React.createClass({\n render: function() {\n var createItem = function(item) {\n return
  • {item.text}
  • ;\n };\n return
      {this.props.items.map(createItem)}
    ;\n }\n});\nvar TodoApp = React.createClass({\n getInitialState: function() {\n return {items: [], text: \'\'};\n },\n onChange: function(e) {\n this.setState({text: e.target.value});\n },\n handleSubmit: function(e) {\n e.preventDefault();\n var nextItems = this.state.items.concat([{text: this.state.text, id: Date.now()}]);\n var nextText = \'\';\n this.setState({items: nextItems, text: nextText});\n },\n render: function() {\n return (\n
    \n

    TODO

    \n \n
    \n \n \n
    \n
    \n );\n }\n});\n\nReactDOM.render(, mountNode);\n'; - -ReactDOM.render(React.createElement(ReactPlayground, { codeText: TODO_COMPONENT }), document.getElementById('todoExample')); \ No newline at end of file diff --git a/js/html-jsx-lib.js b/js/html-jsx-lib.js deleted file mode 100644 index 9dd55e8e14..0000000000 --- a/js/html-jsx-lib.js +++ /dev/null @@ -1,5 +0,0 @@ -// Ideally it would be nice to just redirect, but Github Pages is very basic and -// lacks that functionality. -'use strict'; - -console.warn('html-jsx-lib.js has moved to http://reactjs.github.io/react-magic/' + 'htmltojsx.min.js. If using React-Magic, you are no longer required to ' + 'link to this file. Please delete its