react-router 0.0.0-experimental-63fd291ad → 0.0.0-experimental-dd63c14ca

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 (62) hide show
  1. package/dist/development/{browser-nIQ4Nsyi.d.mts → browser-CGcs-0pD.d.mts} +1 -1
  2. package/dist/development/{chunk-RMKXU7MN.mjs → chunk-27WWNUAK.mjs} +2 -2
  3. package/dist/development/{chunk-HDSKGGQN.mjs → chunk-7WRK5K5U.mjs} +2 -2
  4. package/dist/{production/chunk-C3WYAS5Q.js → development/chunk-J7O2DYPT.js} +7 -7
  5. package/dist/{production/chunk-ENJ3YRWR.js → development/chunk-RFDJDVPR.js} +99 -99
  6. package/dist/development/{chunk-7LB5FDW6.js → chunk-YBHVKAPO.js} +1 -1
  7. package/dist/{production/context-m8rizgnE.d.mts → development/context-CmHpk1Ws.d.mts} +1 -1
  8. package/dist/development/dom-export.d.mts +3 -3
  9. package/dist/development/dom-export.d.ts +1 -1
  10. package/dist/development/dom-export.js +28 -28
  11. package/dist/development/dom-export.mjs +3 -3
  12. package/dist/{production/index-react-server-client-BLiUx67a.d.ts → development/index-react-server-client-CwU9bE5R.d.ts} +1 -1
  13. package/dist/{production/index-react-server-client-CdKROblb.d.mts → development/index-react-server-client-DPrDrCew.d.mts} +1 -1
  14. package/dist/development/index-react-server-client.d.mts +2 -2
  15. package/dist/development/index-react-server-client.d.ts +1 -1
  16. package/dist/development/index-react-server-client.js +4 -4
  17. package/dist/development/index-react-server-client.mjs +2 -2
  18. package/dist/development/index-react-server.js +1 -1
  19. package/dist/development/index-react-server.mjs +1 -1
  20. package/dist/development/index.d.mts +6 -6
  21. package/dist/development/index.d.ts +2 -2
  22. package/dist/development/index.js +85 -85
  23. package/dist/development/index.mjs +3 -3
  24. package/dist/development/lib/types/internal.js +1 -1
  25. package/dist/development/lib/types/internal.mjs +1 -1
  26. package/dist/production/{browser-nIQ4Nsyi.d.mts → browser-CGcs-0pD.d.mts} +1 -1
  27. package/dist/{development/chunk-FSPJVI5E.js → production/chunk-7EPCJDCD.js} +99 -99
  28. package/dist/{development/chunk-EYULJJW2.js → production/chunk-AZ3UZPAM.js} +7 -7
  29. package/dist/production/{chunk-LNDORJHC.mjs → chunk-EQ7TH7YP.mjs} +2 -2
  30. package/dist/production/{chunk-R6IYOE2I.mjs → chunk-HTX4VW5N.mjs} +2 -2
  31. package/dist/production/{chunk-7WCS65FW.js → chunk-YASMNIEI.js} +1 -1
  32. package/dist/{development/context-m8rizgnE.d.mts → production/context-CmHpk1Ws.d.mts} +1 -1
  33. package/dist/production/dom-export.d.mts +3 -3
  34. package/dist/production/dom-export.d.ts +1 -1
  35. package/dist/production/dom-export.js +28 -28
  36. package/dist/production/dom-export.mjs +3 -3
  37. package/dist/{development/index-react-server-client-BLiUx67a.d.ts → production/index-react-server-client-CwU9bE5R.d.ts} +1 -1
  38. package/dist/{development/index-react-server-client-CdKROblb.d.mts → production/index-react-server-client-DPrDrCew.d.mts} +1 -1
  39. package/dist/production/index-react-server-client.d.mts +2 -2
  40. package/dist/production/index-react-server-client.d.ts +1 -1
  41. package/dist/production/index-react-server-client.js +4 -4
  42. package/dist/production/index-react-server-client.mjs +2 -2
  43. package/dist/production/index-react-server.js +1 -1
  44. package/dist/production/index-react-server.mjs +1 -1
  45. package/dist/production/index.d.mts +6 -6
  46. package/dist/production/index.d.ts +2 -2
  47. package/dist/production/index.js +85 -85
  48. package/dist/production/index.mjs +3 -3
  49. package/dist/production/lib/types/internal.js +1 -1
  50. package/dist/production/lib/types/internal.mjs +1 -1
  51. package/docs/explanation/code-splitting.md +1 -1
  52. package/docs/explanation/index-query-param.md +2 -2
  53. package/docs/how-to/data-strategy.md +5 -5
  54. package/docs/how-to/error-reporting.md +10 -2
  55. package/docs/how-to/security.md +1 -1
  56. package/docs/start/data/route-object.md +20 -0
  57. package/docs/start/framework/actions.md +0 -1
  58. package/docs/start/framework/data-loading.md +1 -1
  59. package/docs/start/framework/installation.md +0 -1
  60. package/docs/upgrading/future.md +34 -2
  61. package/docs/upgrading/v6.md +3 -0
  62. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { R as RouterInit } from './context-m8rizgnE.mjs';
2
+ import { R as RouterInit } from './context-CmHpk1Ws.mjs';
3
3
  import { L as Location, C as ClientActionFunction, a as ClientLoaderFunction, b as LinksFunction, M as MetaFunction, S as ShouldRevalidateFunction, P as Params, c as RouterContextProvider, A as ActionFunction, H as HeadersFunction, d as LoaderFunction } from './data-U8FS-wNn.mjs';
4
4
 
5
5
  declare function getRequest(): Request;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v0.0.0-experimental-63fd291ad
2
+ * react-router v0.0.0-experimental-dd63c14ca
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -54,7 +54,7 @@ import {
54
54
  withComponentProps,
55
55
  withErrorBoundaryProps,
56
56
  withHydrateFallbackProps
57
- } from "./chunk-HDSKGGQN.mjs";
57
+ } from "./chunk-7WRK5K5U.mjs";
58
58
 
59
59
  // lib/dom/ssr/server.tsx
60
60
  import * as React from "react";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v0.0.0-experimental-63fd291ad
2
+ * react-router v0.0.0-experimental-dd63c14ca
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -10233,7 +10233,7 @@ var isBrowser2 = typeof window !== "undefined" && typeof window.document !== "un
10233
10233
  try {
10234
10234
  if (isBrowser2) {
10235
10235
  window.__reactRouterVersion = // @ts-expect-error
10236
- "0.0.0-experimental-63fd291ad";
10236
+ "0.0.0-experimental-dd63c14ca";
10237
10237
  }
10238
10238
  } catch (e) {
10239
10239
  }
@@ -1,5 +1,5 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }/**
2
- * react-router v0.0.0-experimental-63fd291ad
2
+ * react-router v0.0.0-experimental-dd63c14ca
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
 
17
- var _chunk7WCS65FWjs = require('./chunk-7WCS65FW.js');
17
+ var _chunkYBHVKAPOjs = require('./chunk-YBHVKAPO.js');
18
18
 
19
19
  // lib/dom/ssr/hydration.tsx
20
20
  function getHydrationData({
@@ -29,12 +29,12 @@ function getHydrationData({
29
29
  ...state,
30
30
  loaderData: { ...state.loaderData }
31
31
  };
32
- let initialMatches = _chunk7WCS65FWjs.matchRoutes.call(void 0, routes, location, basename);
32
+ let initialMatches = _chunkYBHVKAPOjs.matchRoutes.call(void 0, routes, location, basename);
33
33
  if (initialMatches) {
34
34
  for (let match of initialMatches) {
35
35
  let routeId = match.route.id;
36
36
  let routeInfo = getRouteInfo(routeId);
37
- if (_chunk7WCS65FWjs.shouldHydrateRouteLoader.call(void 0,
37
+ if (_chunkYBHVKAPOjs.shouldHydrateRouteLoader.call(void 0,
38
38
  routeId,
39
39
  routeInfo.clientLoader,
40
40
  routeInfo.hasLoader,
@@ -112,7 +112,7 @@ function RSCDefaultRootErrorBoundaryImpl({
112
112
  }
113
113
  }
114
114
  );
115
- if (_chunk7WCS65FWjs.isRouteErrorResponse.call(void 0, error)) {
115
+ if (_chunkYBHVKAPOjs.isRouteErrorResponse.call(void 0, error)) {
116
116
  return /* @__PURE__ */ _react2.default.createElement(
117
117
  ErrorWrapper,
118
118
  {
@@ -120,7 +120,7 @@ function RSCDefaultRootErrorBoundaryImpl({
120
120
  title: "Unhandled Thrown Response!"
121
121
  },
122
122
  /* @__PURE__ */ _react2.default.createElement("h1", { style: { fontSize: "24px" } }, error.status, " ", error.statusText),
123
- _chunk7WCS65FWjs.ENABLE_DEV_WARNINGS ? heyDeveloper : null
123
+ _chunkYBHVKAPOjs.ENABLE_DEV_WARNINGS ? heyDeveloper : null
124
124
  );
125
125
  }
126
126
  let errorInstance;
@@ -146,7 +146,7 @@ function RSCDefaultRootErrorBoundaryImpl({
146
146
  function RSCDefaultRootErrorBoundary({
147
147
  hasRootLayout
148
148
  }) {
149
- let error = _chunk7WCS65FWjs.useRouteError.call(void 0, );
149
+ let error = _chunkYBHVKAPOjs.useRouteError.call(void 0, );
150
150
  if (hasRootLayout === void 0) {
151
151
  throw new Error("Missing 'hasRootLayout' prop");
152
152
  }