Open TimothyJones opened 5 years ago
would be cool if this would be fixed soon!
My console is now getting a big yellow warning about componentWillMount being deprecated. Will react-sticky be updated soon so we can get rid of this error?
Here is a pull request for the warning: https://github.com/captivationsoftware/react-sticky/pull/292
Since it seems this lib is dead (#291), does anyone know a worthy alternative that plays nice with React 16.11?
Any updates on this? Thanks!
I normally hate this kind of thing, but since React 17 is now in RC, I've forked and merged #292 as a stop gap between now and the revival of this repo.
Published to npm as react-sticky-17.
My apologies go out to the maintainers of this repository.
@ebrearley: That's great, thanks for taking the initiaive!
There's a note in the readme of this repo that it won't be maintained any more (since Oct 2019), so I think a fork is probably appropriate. Are you able to maintain your fork moving forward? Happy to help out if it will make the difference between a yes and a no :)
I'm submitting a ...
In the future,
componentWillMount
is going to be deprecated. Looks like this is going to be in the next version of react, as 16.9.0-alpha.0 generates the following warning:Demo here
If you'd like, I can make a PR fixing this.