You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles 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: ReactCursorPosition
The text was updated successfully, but these errors were encountered:
Any plans to address this? I am actively using this library, it works great, but have recently updated to react 16, so am getting these warnings.
Looks like there is a pull request from dan-lee which patches this. (I tried having npm fetch from that branch, but doesn't seem to have a prepare script, so doesn't work directly).
I have worked around this problem by making a release of dan-lee's version onto npmjs called "kevinseghetti-react-cursor-position": "^3.0.3",
Any plans to address this? I am actively using this library, it works great, but have recently updated to react 16, so am getting these warnings.
Looks like there is a pull request from dan-lee which patches this. (I tried having npm fetch from that branch, but doesn't seem to have a prepare script, so doesn't work directly).
I have worked around this problem by making a release of dan-lee's version onto npmjs called "kevinseghetti-react-cursor-position": "^3.0.3",
thank you work using kevinseghetti-react-cursor-position
react: 16.9.13
The text was updated successfully, but these errors were encountered: