source: imaps-frontend/node_modules/react-router/README.md@ d565449

main
Last change on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 813 bytes
RevLine 
[d565449]1# React Router
2
3The `react-router` package is the heart of [React Router](https://github.com/remix-run/react-router) and provides all
4the core functionality for both
5[`react-router-dom`](https://github.com/remix-run/react-router/tree/main/packages/react-router-dom)
6and
7[`react-router-native`](https://github.com/remix-run/react-router/tree/main/packages/react-router-native).
8
9If you're using React Router, you should never `import` anything directly from
10the `react-router` package, but you should have everything you need in either
11`react-router-dom` or `react-router-native`. Both of those packages re-export
12everything from `react-router`.
13
14If you'd like to extend React Router and you know what you're doing, you should
15add `react-router` **as a peer dependency, not a regular dependency** in your
16package.
Note: See TracBrowser for help on using the repository browser.