-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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-dom v4.0.0-beta.7 installs react-router v4.0.0-beta.8 #4674
Comments
Dupe of #4656 |
I see that issue #4656 is marked as closed, so i'm not sure why it is still a problem? I noticed this PR was makred as the fix for it https://github.com/ReactTraining/react-router/pull/4657/files which was reverted in the subsequent commit : 716d467#diff-b902191df6a4ca44a5991a5035478795 so the latest code introduces the |
We mainly have to wait for lerna/lerna#511, because the thing we need from Lerna only exists as a flag on the CLI right now and that's pretty easy to fat-finger. And, more confoundingly, #4668 will switch us back to independent mode, where I'm not sure it even manages inter-package versions at all. But we'll also have to wait for that to see how everything fits together. Regardless, it is beta software, so it's kind of expected to run into breakages like this. This should be a non-issue once we go final and nail everything down. |
Wait until v4.1 drops to merge I actually think that independent mode might be beneficial so that changes to |
Babel is discussing the same thing leading up to their 7.0.0 release. We can watch what they do, since it's the same basic problem, just a couple of orders of magnitude more painful for them to get wrong. |
cool, i'm onboard with the whole beta thing (I started testing v4 out in alpha and enjoyed where and how its changed). It's fine for me, just wanted to raise it as i didn't see a previous issue (obviously i missed the one pointed out!) |
Version
4.0.0-beta.8
Test Case
https://github.com/peter-mouland/react-lego
Steps to reproduce
install react-router-dom v4.0.0-beta-7
now with 4.0.0-beta.7; running
npm run test:func
fails, it worked previously.but with 4.0.0-beta.8; running
npm run test:func
now worksI'm not sure if this is expected, but i fixed my version to beta-7 to prevent further breaking changes affecting my app without me explicitly updating the router. I didn't use a shrinkwrap file which meant the sub-dependencies weren't fixed.
I'm not sure if you'd class this as a bug or not, but if anyone now tries to install beta.7, i won't work as it's incompatible with react-router v4.0.0-beat.8 (which it installs).
might be something to watch out for or be careful of if beta.9 comes out?
The text was updated successfully, but these errors were encountered: