Releases: yahoo/react-stickynode
v2.1.0
Add Math.round to translate3d and Bump subscribe-ui-event
- [#99] Add Math.round to translate3d @dmikheev
- [#108] Bump subscribe-ui-event @roderickhsiao
Update refs element usage
This release update the refs usage to the new api:
https://reactjs.org/docs/refs-and-the-dom.html
"Legacy API: String Refs
If you worked with React before, you might be familiar with an older API where the ref attribute is a string, like "textInput", and the DOM node is accessed as this.refs.textInput. We advise against it because string refs have some issues, are considered legacy, and are likely to be removed in one of the future releases. If you’re currently using this.refs.textInput to access refs, we recommend the callback pattern instead."
Thanks to @kunukn for contributing!
Fix bug where custom Modernizr is used without the method prefixed
Support React 16
v1.4.0 Release v1.4.0.
Ignore hidden files
v1.3.1 Release v1.3.1.
Use prop-types package to avoid React 15.5.0 warnings
v1.3.0 Release v1.3.0.
Fix dist package issue
v1.2.1 Release v1.2.1.
Add `releasedClass` prop
This will apply a class to the outer container conditionally when the component is in a released state.
Thanks @nason
Switching to react-addons-shallow-compare
Switching to use react-addons-shallow-compare
instead of is-equal-shallow
, which tends to return false negatives for props. This should result in fewer unnecessary re-renders of the stickynode component, and so better performance.