-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
what's the diff between react-router-dom
& react-router
?
#4648
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
Comments
react-router-dom
& react-router
?
Your first link is to the master branch, which at this time is v3. In v4,
|
Thanks a lot! 😄 |
So in the future, which is now where RR4 is released, which one shall we use for Web development only? Do we just do "yarn add react-router" will do? |
You'll use the bindings for your environment. You will probably want to use react-router-dom for 99.9% of web dev. |
@pshrmn, thanks ! |
Thanks Guys!!! @timdorr |
thank u ! @timdorr I have confused before. |
This helped alot, thanks! |
Addresses issue remix-run#4648, which has 165 thumbs up to date, indicating a real problem that needs solving.
@pshrmn repurposed your answer into documentation ^^^ I think this issue should be re-opened until the documentation is addressed, obviously lots of people have hit this. |
https://github.com/ReactTraining/react-router
https://reacttraining.com/react-router/
$ npm install react-router-dom@next # or $ yarn add react-router-dom@next
The text was updated successfully, but these errors were encountered: