Skip to content

added UNSAFE to componentWillReceiveProps methods to remove console warnings in React v16.3+#128

Closed
navivanuva wants to merge 1 commit intoMicheleBertoli:masterfrom
navivanuva:master
Closed

added UNSAFE to componentWillReceiveProps methods to remove console warnings in React v16.3+#128
navivanuva wants to merge 1 commit intoMicheleBertoli:masterfrom
navivanuva:master

Conversation

@navivanuva
Copy link

Hi there,
I really love using this repository for my projects, but I noticed that it has not been updated in over 3 years. The map works really great, but there's a small problem on the method componentWillReceiveProps which has been deprecated since react v1.6.3. A warning keeps popping up in the console. So, following the react docs, I added “UNSAFE_” to the methods, and it works fine when I tested it. Thanks

added UNSAFE to componentWillReceiveProps methods to remove console warnings in React v16.3+
@MicheleBertoli
Copy link
Owner

Thanks for your feedback and contribution, @navivanuva

I'm closing this issue in favour of #130

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants