react-reveal
react-reveal copied to clipboard
Refactor componentWillReceiveProps in RevealBase
React 16.9.0 warns of the impending deprecation of componentWillReceiveProps
:
Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.
* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
Please update the following components: RevealBase
I got the same issue, do you already fix?
+1
+1
+1
+1
+1
+1
+1
+1
still not fixed? :face_with_head_bandage:
Any good forks? Did anyone create PR for this?
+1
I really would like a fix or a fork for this aswell. :/
Waiting for a fix :)
+fix please
ditto
+1
Please don't ping this thread unless you know of any maintained forks. This package has not been updated in 2 years and +1s won't solve the issue. No merge for the fix is coming, so you should not be using this.