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

React 17 support: replace componentWillMount #70

Merged
merged 3 commits into from
Nov 17, 2020
Merged

Conversation

gpoitch
Copy link
Collaborator

@gpoitch gpoitch commented Nov 17, 2020

componentWillMount has been deprecated in react 16 and will no longer work in react 17.
This moves the code into the constructor instead which should be equivalent.

@gpoitch gpoitch changed the title Replace componentWillMount React 17 support: replace componentWillMount Nov 17, 2020
@gpoitch gpoitch merged commit 626f973 into master Nov 17, 2020
@gpoitch gpoitch deleted the gp/rm-willmount branch November 17, 2020 21:03
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

Successfully merging this pull request may close these issues.

1 participant