You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Static methods (defined in statics) are no longer autobound to the component class
React.addons.classSet is now deprecated. This functionality can be replaced with several freely available modules. classnames is one such module.
New Features
Support for using ES6 classes to build React components; see the v0.13.0 beta 1 notes for details.
Added new top-level API 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.The text was updated successfully, but these errors were encountered: