I am currently using react 16.13.1 and google-maps-react 2.0.6. I am getting this warning on using Map and GoogleApiWrapper. "Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details.
Please update the following components: Wrapper"
I know it is not good idea but it works.
just remove <React.StrictMode> from index.js
Why not update it to componentDidUpdate or either of the other two options provided in the React documentation? After React 16 this function will no longer work.
https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops
anyone knows if there is already an active PR for this issue?
Most helpful comment
Why not update it to componentDidUpdate or either of the other two options provided in the React documentation? After React 16 this function will no longer work.
https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops