-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
Snackbar uses getDerivedStateFromProps() but also contains the following legacy lifecycles #10852
Comments
@psamim Thanks for raising this issue. I believe that these warnings shouldn't happen in the first place. The warnings are supposed to be suppressed: I will work on #10793 today. |
|
@bvaughn This logic is only here for react-hot-loader. Commenting the |
Gotcha. Can you point me at a repro in Code Sandbox? |
Alright, I went a bit deeper in this issue.
|
I am still getting the error even after updating to beta-40. |
@psamim What's the warning? |
Hi,
I get the two following errors in the console:
Your Environment
The text was updated successfully, but these errors were encountered: