Skip to content

Breaking change for new refs api

Latest
Compare
Choose a tag to compare
@KyleAMathews KyleAMathews released this 13 Oct 05:21
· 21 commits to master since this release

In React 0.14.0, when a ref is assigned to a component, the actual DOM node is exposed at this.refs.A_REF where previously you needed to call getDOMNode(). This breaks compatibility with React releases < 0.14.0 hence a major release.