Some checks failed
CI/CD Pipeline / unit-tests (push) Failing after 1m16s
CI/CD Pipeline / integration-tests (push) Failing after 2m32s
CI/CD Pipeline / lint (push) Successful in 5m22s
CI/CD Pipeline / e2e-tests (push) Has been skipped
CI/CD Pipeline / build (push) Has been skipped
React Router
The react-router package is the heart of React Router and provides all
the core functionality for both
react-router-dom
and
react-router-native.
If you're using React Router, you should never import anything directly from
the react-router package, but you should have everything you need in either
react-router-dom or react-router-native. Both of those packages re-export
everything from react-router.
If you'd like to extend React Router and you know what you're doing, you should
add react-router as a peer dependency, not a regular dependency in your
package.