Browse Source

Fix typo in blogpost

I fixed this in the changelog, but missed this one.
main
Paul O’Shannessy 12 years ago
parent
commit
82c93338fb
  1. 2
      _posts/2013-07-17-react-v0-4-0.md

2
_posts/2013-07-17-react-v0-4-0.md

@ -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.

Loading…
Cancel
Save