-
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
UNSAFE_componentWillReceiveProps lifecycle method now throws a warning in newer versions of React #3919
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
this is a bug |
Similar issue using a
|
@levithomason @layershifter now that React has changed these |
For anyone else landing here... this is a dev mode only warning and lifecycle methods will continue to function in React 17+ with the |
FYI: #3956 |
Was fixed in |
The visibility component is using UNSAFE_componentWillReceiveProps . This now gives a warning.
https://github.com/Semantic-Org/Semantic-UI-React/blob/master/src/behaviors/Visibility/Visibility.js#L191
The text was updated successfully, but these errors were encountered: