By Paul O’Shannessy·
This release is the result of several months of hard work from members of the team and the community. While there are no groundbreaking changes in core, we’ve worked hard to improve performance and memory usage. We’ve also worked hard to make sure we are being consistent in our usage of DOM properties.
The biggest change you’ll notice as a developer is that we no longer support class
in JSX as a way to provide CSS classes. Since this prop was being converted to className
at the transform step, it caused some confusion when trying to access it in composite components. As a result we decided to make our DOM properties mirror their counterparts in the JS DOM API. There are a few exceptions where we deviate slightly in an attempt to be consistent internally.
The other major change in v0.5 is that we’ve added an additional build - react-with-addons
- which adds support for some extras that we’ve been working on including animations and two-way binding. Read more about these addons in the docs.
We added 22 new people to the list of authors since we launched React v0.4.1 nearly 3 months ago. With a total of 48 names in our AUTHORS
file, that means we’ve nearly doubled the number of contributors in that time period. We’ve seen the number of people contributing to discussion on IRC, mailing lists, Stack Overflow, and GitHub continue rising. We’ve also had people tell us about talks they’ve given in their local community about React.
It’s been awesome to see the things that people are building with React, and we can’t wait to see what you come up with next!
charSet
, content
, form
, httpEquiv
, rowSpan
, autoCapitalize
).rx
, ry
).getInitialState
and getDefaultProps
in mixins.React.version
.React.isValidClass
- Used to determine if a value is a valid component constructor.React.autoBind
- This was deprecated in v0.4 and now properly removed.React.unmountAndReleaseReactRootNode
to React.unmountComponentAtNode
.class
to className
as part of the transform! This is a breaking change - if you were using class
, you must change this to className
or your components will be visually broken.