-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Migrate out of unsafe / deprecated React lifecycle methods #2384
Comments
yes we've gotta do this! happy to accept PRs to convert components one-by-one. |
Gilad: oof actually this won't happen any time soon as we still support React 15. |
Do you happen to know when support for React 15 will end? It is possible to polyfill the new component methods for React 15 using https://github.com/reactjs/react-lifecycles-compat if you're happy to go with that solution I'll open a PR. |
React Concurrent Rendering (16.7) will not be supported as long as old lifecycle methods have been used in Blueprint. Please, raise the prio of this issue. |
@phpnode thanks for the link, react-lifecycles-compat looks promising. I think we would like to support React 15 for a few more months, so backwards compatibility using a shim layer would be appropriate. |
A year has passed since this came up and we're approaching some react changes. As of today:
|
fixed by #3702, but we are still dealing with lingering semantic issues after the migration |
Under React 16.3+ with React.StrictMode, several components are producing warnings in regards to unsafe React lifecycle methods usage as they will be deprecated in future React 16.x release and removed in React 17.0.
The text was updated successfully, but these errors were encountered: