react-router 0.0.0-experimental-e6fb6e074 → 0.0.0-experimental-5bbc45fb6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/CHANGELOG.md +753 -18
  2. package/README.md +5 -14
  3. package/dist/development/chunk-EKICUOCX.mjs +11486 -0
  4. package/dist/development/dom-export.d.mts +23 -0
  5. package/dist/development/dom-export.d.ts +22 -0
  6. package/dist/development/dom-export.js +246 -0
  7. package/dist/development/dom-export.mjs +225 -0
  8. package/dist/development/index.d.mts +795 -0
  9. package/dist/development/index.d.ts +2524 -0
  10. package/dist/development/index.js +11636 -0
  11. package/dist/development/index.mjs +246 -0
  12. package/dist/development/lib/types/internal.d.mts +275 -0
  13. package/dist/development/lib/types/internal.d.ts +274 -0
  14. package/dist/development/lib/types/internal.js +28 -0
  15. package/dist/development/lib/types/internal.mjs +10 -0
  16. package/dist/development/lib-DOOHL1pK.d.mts +1736 -0
  17. package/dist/development/register-DEZBC9Yl.d.ts +1767 -0
  18. package/dist/development/register-e9PGCFx1.d.mts +10 -0
  19. package/dist/development/route-data-BwJdBC92.d.mts +1758 -0
  20. package/dist/production/chunk-5UK3OH7I.mjs +11486 -0
  21. package/dist/production/dom-export.d.mts +23 -0
  22. package/dist/production/dom-export.d.ts +22 -0
  23. package/dist/production/dom-export.js +246 -0
  24. package/dist/production/dom-export.mjs +225 -0
  25. package/dist/production/index.d.mts +795 -0
  26. package/dist/production/index.d.ts +2524 -0
  27. package/dist/production/index.js +11636 -0
  28. package/dist/production/index.mjs +246 -0
  29. package/dist/production/lib/types/internal.d.mts +275 -0
  30. package/dist/production/lib/types/internal.d.ts +274 -0
  31. package/dist/production/lib/types/internal.js +28 -0
  32. package/dist/production/lib/types/internal.mjs +10 -0
  33. package/dist/production/lib-DOOHL1pK.d.mts +1736 -0
  34. package/dist/production/register-DEZBC9Yl.d.ts +1767 -0
  35. package/dist/production/register-e9PGCFx1.d.mts +10 -0
  36. package/dist/production/route-data-BwJdBC92.d.mts +1758 -0
  37. package/package.json +82 -9
  38. package/dist/index.d.ts +0 -30
  39. package/dist/index.js +0 -1501
  40. package/dist/index.js.map +0 -1
  41. package/dist/lib/components.d.ts +0 -157
  42. package/dist/lib/context.d.ts +0 -102
  43. package/dist/lib/deprecations.d.ts +0 -4
  44. package/dist/lib/hooks.d.ts +0 -181
  45. package/dist/main.js +0 -19
  46. package/dist/react-router.development.js +0 -1397
  47. package/dist/react-router.development.js.map +0 -1
  48. package/dist/react-router.production.min.js +0 -12
  49. package/dist/react-router.production.min.js.map +0 -1
  50. package/dist/umd/react-router.development.js +0 -1624
  51. package/dist/umd/react-router.development.js.map +0 -1
  52. package/dist/umd/react-router.production.min.js +0 -12
  53. package/dist/umd/react-router.production.min.js.map +0 -1
package/README.md CHANGED
@@ -1,16 +1,7 @@
1
- # React Router
1
+ `react-router` is the primary package in the React Router project.
2
2
 
3
- The `react-router` package is the heart of [React Router](https://github.com/remix-run/react-router) and provides all
4
- the core functionality for both
5
- [`react-router-dom`](https://github.com/remix-run/react-router/tree/main/packages/react-router-dom)
6
- and
7
- [`react-router-native`](https://github.com/remix-run/react-router/tree/main/packages/react-router-native).
3
+ ## Installation
8
4
 
9
- If you're using React Router, you should never `import` anything directly from
10
- the `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
12
- everything from `react-router`.
13
-
14
- If you'd like to extend React Router and you know what you're doing, you should
15
- add `react-router` **as a peer dependency, not a regular dependency** in your
16
- package.
5
+ ```sh
6
+ npm i react-router
7
+ ```