captivationsoftware / react-sticky

<Sticky /> component for awesome React apps
MIT License
2.64k stars 385 forks source link

Fix on warning: "componentWillMount will be deprecated soon" #292

Open gerhat opened 5 years ago

gerhat commented 5 years ago

Fixes the "componentWillMount will be deprecated soon" warning based on the official docs: https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#adding-event-listeners-or-subscriptions

defusioner commented 5 years ago

Please merge it as soon as possible

macrozone commented 5 years ago

seems to work for me.

hope that @vcarl or @dbarbalato can merge and release soon!

myapos commented 5 years ago

Hello there. This is important. I hope it will be merged soon.

charlenetshos commented 5 years ago

Hello, I'm also getting the warning and it's causing our build to fail. Will you please merge this PR when you can?

Indigo744 commented 5 years ago

How is this still not merged?! Please, merge and release a new version!

NotAmaan commented 4 years ago

Looks like this project isn't being maintained anymore: https://github.com/captivationsoftware/react-sticky/commit/50f68e1af5937c12cdc1aab46ea45c4a4d74e46d