Skip to content
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

Comply with React strict-mode and upgrade from unsafe component lifecycles #925

Closed
lanceschi opened this issue Apr 16, 2018 · 1 comment
Closed

Comments

@lanceschi
Copy link

lanceschi commented Apr 16, 2018

Hi,

when transpiling with <React.StrictMode> with React v16.3.1, I'm getting into this warning:

Warning: Unsafe lifecycle methods were found within a strict-mode tree:

...

componentWillUpdate: Please update the following components to use componentDidUpdate instead: Connect(Component)

Learn more about this warning here:
https://fb.me/react-strict-mode-warnings

All the best,
L

@lanceschi lanceschi changed the title Comply with React strict-mode and remove unsafe component lifecycles Comply with React strict-mode and upgrade from unsafe component lifecycles Apr 16, 2018
@lanceschi
Copy link
Author

Duplicate of #897. Closing

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

No branches or pull requests

1 participant