Both have Route, Link, etc. When to use one or the other? I\'m really confused on where to use each one. Server side? Client side?
https://reacttraining.com/react-ro
In v4, react-router exports the core components and functions. react-router-dom exports DOM-aware components, like ( which renders ) and (which interacts with the browser's window.history ).
react-router-dom re-exports all of react-router's exports, so you only need to import from react-router-dom in your project.