|
@ -30,7 +30,7 @@ When you're ready, [go download it](/react/downloads.html)! |
|
|
|
|
|
|
|
|
* Support for comment nodes `<div>{/* this is a comment and won't be rendered */}</div>` |
|
|
* Support for comment nodes `<div>{/* this is a comment and won't be rendered */}</div>` |
|
|
* Children are now transformed directly into arguments instead of being wrapped in an array |
|
|
* Children are now transformed directly into arguments instead of being wrapped in an array |
|
|
E.g. `<div><Component1/><Component2></div>` is transformed into `React.DOM.div(null, Component1(null), Component2(null))`. |
|
|
E.g. `<div><Component1/><Component2/></div>` is transformed into `React.DOM.div(null, Component1(null), Component2(null))`. |
|
|
Previously this would be transformed into `React.DOM.div(null, [Component1(null), Component2(null)])`. |
|
|
Previously this would be transformed into `React.DOM.div(null, [Component1(null), Component2(null)])`. |
|
|
If you were using React without JSX previously, your code should still work. |
|
|
If you were using React without JSX previously, your code should still work. |
|
|
|
|
|
|
|
|