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

Get rid of react warning : componentWillMount has been renamed, and is not recommended for use. #2386

Closed
hannes-o-brunner opened this issue Oct 25, 2019 · 6 comments · May be fixed by bluecanvas/design-system-react#1

Comments

@hannes-o-brunner
Copy link

@salesforce/[email protected]

React 16.9 emits the following warning:

Warning: componentWillMount is deprecated and will be removed in the next major version. Use componentDidMount instead. As a temporary workaround, you can rename to UNSAFE_componentWillMount.

Learn more about this warning here:
https://fb.me/react-async-component-lifecycle-hooks
@tathagat2006
Copy link

@hannes-o-brunner Are you working on this issue? Else I would like to work on this one.

@hannes-o-brunner
Copy link
Author

No, not working on it, you can take it

@interactivellama
Copy link
Contributor

Sounds awesome! Thank you. This PR may be helpful #2245

@tathagat2006
Copy link

Great! Thanks @hannes-o-brunner @interactivellama

@stale
Copy link

stale bot commented Dec 29, 2019

This issue has been automatically marked as stale, because it has not had recent activity. It will be closed if no further activity occurs. Maintainers are responsible for tech debt and project health. This is most likely a new components or component feature request. Please submit a pull request for or request feedback on this feature. Thank you.

@interactivellama
Copy link
Contributor

I believe this is fixed by #2830

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants