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

Add UNSAFE to near deprecate lifeCycles #6311

Closed

Conversation

alireza-mh
Copy link
Contributor

This PR try to make react-router more compatible with next versions of react.
UNSAFE keyword added to componentWillReceiveProps and componentWillMount .
this may help with #6060 issue.

@timdorr
Copy link
Member

timdorr commented Aug 30, 2018

Doing this will break older versions of React, which we still support. We should go the route of something like #6256 and just remove their usage entirely.

@timdorr timdorr closed this Aug 30, 2018
@alireza-mh
Copy link
Contributor Author

sorry . wasn't aware of backward compatibility issue

@timdorr
Copy link
Member

timdorr commented Aug 30, 2018

No worries. We still need to add react-lifecycles-compat to that PR, so it's very much a WIP.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants