-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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-router no longer triggers componentWillReceiveProps #3146
Comments
This PR caused the change: facebook/react#5787 |
While this is against a pre-release version of React, it's good for us to stay ahead of the curve on this stuff. Do you have a test case handy? |
I'm sorry, I don't. And I think my implementation might be moving away from even allowing route transitions at least for the time being, so I'll be moving toward other things. |
Are you sure about this issue? I couldn't reproduce it with rc1 and one of the examples. Also, the PR reads like |
I'll see if I can put together a moment to try to recreate it with a test case or an example. |
Version
2.0.0
React 15.0.alpha1
Issue
With React 15, the componentWillReceiveProps has been changed to be more discerning when it does fire. React-router's route changes are apparently not enough to trigger the receive props method on children, so on an initial load it works fine, but any navigation after breaks. I'm not sure what side needs the fix, if it's even fixable or force-able from react-router.
New to using React, so leave it to the new guy to break stuff.
The text was updated successfully, but these errors were encountered: