From fa79727a2e909e2ad803a55c47ab69582401c1cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Wed, 17 Jul 2013 11:20:21 -0700 Subject: [PATCH] Blog post for 0.4 --- _posts/2013-07-17-react-v0-4-0.md | 40 +++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 _posts/2013-07-17-react-v0-4-0.md diff --git a/_posts/2013-07-17-react-v0-4-0.md b/_posts/2013-07-17-react-v0-4-0.md new file mode 100644 index 00000000..c77ea4b0 --- /dev/null +++ b/_posts/2013-07-17-react-v0-4-0.md @@ -0,0 +1,40 @@ +--- +title: "React v0.4.0" +layout: post +author: Paul O'Shannessy +--- + +Over the past 2 months we've been taking feedback and working hard to make React even better. We've also added several features that awe didn't finish in time for the v0.3 launch, and are proud to announce the availability of React v0.4 today! + + +This release could not have happened without the support of our growing community. Since launch day, the community has contributed blog posts, questions to the [Google Group](http://groups.google.com/group/reactjs), and issues and pull requests on GitHub. We've had contributions ranging from documentation improvements to major changes to React's rendering. We've seen people integrate React into the tools they're using and the products they're building, and we're all very excited to see what our budding community builds next! + +React v0.4 has some big changes. We've also restructured the documentation to better communicate how to use React. We've summarized the changes below and linked to documentation where we think it will be especially useful. + +When you're ready, [go download it](/react/downloads.html)! + + +### React + +* Switch from using `id` attribute to `data-reactid` to track DOM nodes. This allows you to integrate with other JS and CSS libraries more easily. +* Support for more DOM elements and attributes (e.g., ``) +* Improved server-side rendering APIs. `React.renderComponentToString(, callback)` allows you to use React on the server and generate markup which can be sent down to the browser. +* `prop` improvements: validation and default values. [Read our blog post for details...](http://facebook.github.io/react/blog/2013/07/11/react-v0-4-prop-validation-and-default-values.html) +* Support for the `key` prop, which allows for finer control over reconciliation. [Read the docs for details...](http://facebook.github.io/react/docs/multiple-components.html) +* Removed `React.autoBind`. [Read our blog post for details...](http://facebook.github.io/react/blog/2013/07/02/react-v0-4-autobind-by-default.html) +* Improvements to forms. We've written wrappers around ``, `