-
Notifications
You must be signed in to change notification settings - Fork 48.3k
warning message recommends using soon deprecated lifecycle methods #12748
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
Comments
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
React 16.3.1
What is the current behavior?
Warning message recommends using soon to-be deprecated lifecycle method -
componentWillMount
Warning Content:
Warning: Cannot update during an existing state transition (such as within
renderor another component's constructor). Render methods should be a pure function of props and state; constructor side-effects are an anti-pattern, but can be moved to
componentWillMount.
What is the expected behavior?
warning messages should be inline with deprecation plans.
The text was updated successfully, but these errors were encountered: