Open basham opened 9 years ago
Notable things:
statics
) are no longer autobound to the component classReact.addons.classSet
is now deprecated. This functionality can be replaced with several freely available modules. classnames is one such module.React.findDOMNode(component)
, which should be used in place of component.getDOMNode()
. The base class for ES6-based components will not have getDOMNode
. This change will enable some more patterns moving forward.Probably shouldn't switch to ES6 syntax, yet, until there's a well supported replacement for mixins. Too early to know what direction that will be. Mixins are used extensively for reflux
and react-router
.
Released on March 10, 2015. http://facebook.github.io/react/blog/2015/03/10/react-v0.13.html
Should be able to replace
react-with-addons.x.js
with justreact.x.min.js
, since the only addon being used was for class name manipulations, which is now depreciated. ReplaceReact.addons.classSet
withclassnames
npm package.