react-router 0.0.0-experimental-e6fb6e074 → 0.0.0-experimental-2d7ec82d5

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 (65) hide show
  1. package/CHANGELOG.md +734 -18
  2. package/README.md +5 -14
  3. package/dist/development/chunk-JPPIU5KG.mjs +11511 -0
  4. package/dist/development/data-CQbyyGzl.d.mts +11 -0
  5. package/dist/development/data-CQbyyGzl.d.ts +11 -0
  6. package/dist/development/dom-export.d.mts +23 -0
  7. package/dist/development/dom-export.d.ts +23 -0
  8. package/dist/development/dom-export.js +6347 -0
  9. package/dist/development/dom-export.mjs +222 -0
  10. package/dist/development/fog-of-war-C5L_Yd5M.d.mts +1778 -0
  11. package/dist/development/fog-of-war-DrUCUQQ-.d.ts +1778 -0
  12. package/dist/development/index.d.mts +855 -0
  13. package/dist/development/index.d.ts +855 -0
  14. package/dist/development/index.js +11670 -0
  15. package/dist/development/index.mjs +263 -0
  16. package/dist/development/lib/types/route-module.d.mts +209 -0
  17. package/dist/development/lib/types/route-module.d.ts +209 -0
  18. package/dist/development/lib/types/route-module.js +28 -0
  19. package/dist/development/lib/types/route-module.mjs +10 -0
  20. package/dist/development/route-data-BIYebJr3.d.mts +1749 -0
  21. package/dist/development/route-data-BIYebJr3.d.ts +1749 -0
  22. package/dist/development/rsc-export.d.mts +1788 -0
  23. package/dist/development/rsc-export.d.ts +1788 -0
  24. package/dist/development/rsc-export.js +2784 -0
  25. package/dist/development/rsc-export.mjs +2749 -0
  26. package/dist/production/chunk-O34M5LIX.mjs +11511 -0
  27. package/dist/production/data-CQbyyGzl.d.mts +11 -0
  28. package/dist/production/data-CQbyyGzl.d.ts +11 -0
  29. package/dist/production/dom-export.d.mts +23 -0
  30. package/dist/production/dom-export.d.ts +23 -0
  31. package/dist/production/dom-export.js +6347 -0
  32. package/dist/production/dom-export.mjs +222 -0
  33. package/dist/production/fog-of-war-C5L_Yd5M.d.mts +1778 -0
  34. package/dist/production/fog-of-war-DrUCUQQ-.d.ts +1778 -0
  35. package/dist/production/index.d.mts +855 -0
  36. package/dist/production/index.d.ts +855 -0
  37. package/dist/production/index.js +11670 -0
  38. package/dist/production/index.mjs +263 -0
  39. package/dist/production/lib/types/route-module.d.mts +209 -0
  40. package/dist/production/lib/types/route-module.d.ts +209 -0
  41. package/dist/production/lib/types/route-module.js +28 -0
  42. package/dist/production/lib/types/route-module.mjs +10 -0
  43. package/dist/production/route-data-BIYebJr3.d.mts +1749 -0
  44. package/dist/production/route-data-BIYebJr3.d.ts +1749 -0
  45. package/dist/production/rsc-export.d.mts +1788 -0
  46. package/dist/production/rsc-export.d.ts +1788 -0
  47. package/dist/production/rsc-export.js +2784 -0
  48. package/dist/production/rsc-export.mjs +2749 -0
  49. package/package.json +111 -9
  50. package/dist/index.d.ts +0 -30
  51. package/dist/index.js +0 -1501
  52. package/dist/index.js.map +0 -1
  53. package/dist/lib/components.d.ts +0 -157
  54. package/dist/lib/context.d.ts +0 -102
  55. package/dist/lib/deprecations.d.ts +0 -4
  56. package/dist/lib/hooks.d.ts +0 -181
  57. package/dist/main.js +0 -19
  58. package/dist/react-router.development.js +0 -1397
  59. package/dist/react-router.development.js.map +0 -1
  60. package/dist/react-router.production.min.js +0 -12
  61. package/dist/react-router.production.min.js.map +0 -1
  62. package/dist/umd/react-router.development.js +0 -1624
  63. package/dist/umd/react-router.development.js.map +0 -1
  64. package/dist/umd/react-router.production.min.js +0 -12
  65. 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
+ ```