react-stickynode v2.0.0 Release Notes

Release Date: 2018-05-29 // over 3 years ago
  • ๐Ÿš€ 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!