react-native-maps-super-cluster icon indicating copy to clipboard operation
react-native-maps-super-cluster copied to clipboard

Warnings in library

Open plungarini opened this issue 3 years ago • 4 comments

Hello guys I'm receiving those two warnings. Can you update the library and let me know please?

Warning: componentWillUpdate 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.
* Rename componentWillUpdate to UNSAFE_componentWillUpdate 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: %s, ClusteredMapView
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: %s, ClusteredMapView

plungarini avatar Oct 10 '21 20:10 plungarini

@plungarini we have a major refactoring in progress which does include switching to Functional Components. That should fix all those warnings. I'll keep you posted.

39otrebla avatar Dec 15 '21 14:12 39otrebla

Hey @39otrebla Thanks for you work. I am also waiting for new refactoring

Maqsim avatar Apr 24 '22 03:04 Maqsim

Hey @39otrebla any news on this?

Badra00 avatar Jun 03 '22 02:06 Badra00