-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warnings: componentWillReceiveProps in strict mode, Legacy context API, findDOMNode is deprecated #4094
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
So basically someone would have to create a PR and replace legacy component lifecycle methods with newer version: https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#migrating-from-legacy-lifecycles However, looking at usages and code inside of UNSAFE_componentWillReceiveProps , it might not be so straightforward. |
This comment has been minimized.
This comment has been minimized.
For anyone else going insane over this, you can disable those warnings (and other, actually helpful ones) by commenting out Update: Stop confused-face'ing me you monsters! 😭 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Can anyone say - are these warnings critical and can we expect the developers to fix that in the future? |
@OlegPuzankin They aren't critical in React 16.x.x, in React 17+ I suspect all the deprecated Yes, the maintainer is aware of it and has it on their todo list. |
React v17 has been released. Someone please fix this issue |
The UNSAFE removal has been deferred to React 18. |
EDIT: 🎉 I've archived the fork now that we've got some momentum in this repo and Jed is involved again. Sorry for the disturbance! |
@Methuselah96 Is that a drop-in replacement that won't spam the Edit: Seems to have the same |
@corysimmons I haven't finished the changes necessary to remove the I didn't make a PR for this project, because at the time, it had been several months since any PR had been merged and half a year since a new version had been released. I planned on creating a PR once I had finished all the changes necessary. As long as this project is actually maintained, I'll make PRs here and hopefully archive my fork. EDIT: I've made a PR: #4313. |
Thanks for your efforts!
…On Wed, Nov 25, 2020 at 2:33 PM Nathan Bierema ***@***.***> wrote:
@corysimmons <https://github.com/corysimmons> I haven't finished the
changes necessary to remove the UNSAFE warnings in the fork.
I didn't make a PR for this project, because at the time, it had been
several months since any PR had been merged and half a year since a new
version had been released. I planned on creating a PR once I had finished
all the changes necessary.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4094 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEYL5RGUSQDUWO7JONCTCTSRVSX3ANCNFSM4OBIGG7Q>
.
|
Have the same issue here. |
I am still getting this issue. I thought this was working with react 17? |
@Methuselah96 Thank you, Hero! |
Still getting this issue on 4.1.0 for the Animated Select. |
This updates react-select to resolve an error/warning seen when using this plugin. See JedWatson/react-select#4094
This issue is a round-up of multiple past issues documenting the same bug. Feel free to check out the linked issues below for more information. This issue is the source of truth going forward to investigate the issue, report findings, and implement a bug fix.
Issue:
Issues:
#3751
#3720
#3915
#3745
#4068
#3703
If anyone would like to share any further information, please do so.
The text was updated successfully, but these errors were encountered: