react-router 0.0.0-experimental-1a4134895 → 0.0.0-experimental-2d8f5c807
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.
- package/CHANGELOG.md +0 -33
- package/dist/development/{browser-CVt-AVEw.d.ts → browser-BZbE3Ab4.d.ts} +1 -1
- package/dist/development/{browser-DMZL55jm.d.mts → browser-DLaTgmx4.d.mts} +1 -1
- package/dist/development/{chunk-UW2GWJ4V.js → chunk-BZGUM3ZV.js} +131 -164
- package/dist/{production/chunk-7KUYQ25T.js → development/chunk-J43LAV67.js} +7 -7
- package/dist/development/{chunk-SMU6VCE5.js → chunk-KXIRCLYA.js} +255 -203
- package/dist/development/{chunk-U3QH42RN.mjs → chunk-MZVUB5EK.mjs} +2 -2
- package/dist/development/{chunk-RSETISCY.mjs → chunk-TDCYSKXT.mjs} +223 -204
- package/dist/development/dom-export.d.mts +2 -19
- package/dist/development/dom-export.d.ts +2 -19
- package/dist/development/dom-export.js +103 -158
- package/dist/development/dom-export.mjs +79 -133
- package/dist/{production/index-react-server-client-MZL1faqV.d.mts → development/index-react-server-client-57_e7ldB.d.mts} +49 -69
- package/dist/development/{index-react-server-client-C_xKAMFL.d.ts → index-react-server-client-R7shcpCk.d.ts} +49 -69
- package/dist/development/index-react-server-client.d.mts +2 -2
- package/dist/development/index-react-server-client.d.ts +2 -2
- package/dist/development/index-react-server-client.js +4 -4
- package/dist/development/index-react-server-client.mjs +2 -2
- package/dist/development/index-react-server.d.mts +3 -2
- package/dist/development/index-react-server.d.ts +3 -2
- package/dist/development/index-react-server.js +10 -27
- package/dist/development/index-react-server.mjs +10 -27
- package/dist/development/index.d.mts +14 -16
- package/dist/development/index.d.ts +14 -16
- package/dist/development/index.js +76 -76
- package/dist/development/index.mjs +3 -3
- package/dist/{production/instrumentation-Clr86Wt0.d.ts → development/instrumentation-B_F6ST7G.d.ts} +9 -50
- package/dist/development/lib/types/internal.d.mts +2 -2
- package/dist/development/lib/types/internal.d.ts +2 -2
- package/dist/development/lib/types/internal.js +1 -1
- package/dist/development/lib/types/internal.mjs +1 -1
- package/dist/development/{register-BQNO5hHg.d.mts → register-CgKz1HWA.d.mts} +1 -1
- package/dist/development/{register-B9kmG_ck.d.ts → register-xwaVkBip.d.ts} +1 -1
- package/dist/development/{router-CvHJZoz6.d.mts → router-BEkBixDr.d.mts} +9 -50
- package/dist/production/{browser-CVt-AVEw.d.ts → browser-BZbE3Ab4.d.ts} +1 -1
- package/dist/production/{browser-DMZL55jm.d.mts → browser-DLaTgmx4.d.mts} +1 -1
- package/dist/production/{chunk-2LYV46AY.js → chunk-B3J4R4VT.js} +131 -164
- package/dist/production/{chunk-5SOZPEMG.mjs → chunk-LAULUG52.mjs} +2 -2
- package/dist/production/{chunk-DRFH75GK.mjs → chunk-T6WCDMHU.mjs} +223 -204
- package/dist/{development/chunk-FSS7BSX5.js → production/chunk-US5B543W.js} +7 -7
- package/dist/production/{chunk-5LAWJKMP.js → chunk-XLO27B6Q.js} +255 -203
- package/dist/production/dom-export.d.mts +2 -19
- package/dist/production/dom-export.d.ts +2 -19
- package/dist/production/dom-export.js +103 -158
- package/dist/production/dom-export.mjs +79 -133
- package/dist/{development/index-react-server-client-MZL1faqV.d.mts → production/index-react-server-client-57_e7ldB.d.mts} +49 -69
- package/dist/production/{index-react-server-client-C_xKAMFL.d.ts → index-react-server-client-R7shcpCk.d.ts} +49 -69
- package/dist/production/index-react-server-client.d.mts +2 -2
- package/dist/production/index-react-server-client.d.ts +2 -2
- package/dist/production/index-react-server-client.js +4 -4
- package/dist/production/index-react-server-client.mjs +2 -2
- package/dist/production/index-react-server.d.mts +3 -2
- package/dist/production/index-react-server.d.ts +3 -2
- package/dist/production/index-react-server.js +10 -27
- package/dist/production/index-react-server.mjs +10 -27
- package/dist/production/index.d.mts +14 -16
- package/dist/production/index.d.ts +14 -16
- package/dist/production/index.js +76 -76
- package/dist/production/index.mjs +3 -3
- package/dist/{development/instrumentation-Clr86Wt0.d.ts → production/instrumentation-B_F6ST7G.d.ts} +9 -50
- package/dist/production/lib/types/internal.d.mts +2 -2
- package/dist/production/lib/types/internal.d.ts +2 -2
- package/dist/production/lib/types/internal.js +1 -1
- package/dist/production/lib/types/internal.mjs +1 -1
- package/dist/production/{register-BQNO5hHg.d.mts → register-CgKz1HWA.d.mts} +1 -1
- package/dist/production/{register-B9kmG_ck.d.ts → register-xwaVkBip.d.ts} +1 -1
- package/dist/production/{router-CvHJZoz6.d.mts → router-BEkBixDr.d.mts} +9 -50
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,38 +1,5 @@
|
|
|
1
1
|
# `react-router`
|
|
2
2
|
|
|
3
|
-
## 7.9.6
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- \[UNSTABLE] Add `location`/`params` as arguments to client-side `unstable_onError` to permit enhanced error reporting. ([#14509](https://github.com/remix-run/react-router/pull/14509))
|
|
8
|
-
|
|
9
|
-
⚠️ This is a breaking change if you've already adopted `unstable_onError`. The second `errorInfo` parameter is now an object with `location` and `params`:
|
|
10
|
-
|
|
11
|
-
```tsx
|
|
12
|
-
// Before
|
|
13
|
-
function errorHandler(error: unknown, errorInfo?: React.errorInfo) {
|
|
14
|
-
/*...*/
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// After
|
|
18
|
-
function errorHandler(
|
|
19
|
-
error: unknown,
|
|
20
|
-
info: {
|
|
21
|
-
location: Location;
|
|
22
|
-
params: Params;
|
|
23
|
-
errorInfo?: React.ErrorInfo;
|
|
24
|
-
},
|
|
25
|
-
) {
|
|
26
|
-
/*...*/
|
|
27
|
-
}
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
- Properly handle ancestor thrown middleware errors before `next()` on fetcher submissions ([#14517](https://github.com/remix-run/react-router/pull/14517))
|
|
31
|
-
|
|
32
|
-
- Fix issue with splat routes interfering with multiple calls to patchRoutesOnNavigation ([#14487](https://github.com/remix-run/react-router/pull/14487))
|
|
33
|
-
|
|
34
|
-
- Normalize double-slashes in `resolvePath` ([#14529](https://github.com/remix-run/react-router/pull/14529))
|
|
35
|
-
|
|
36
3
|
## 7.9.5
|
|
37
4
|
|
|
38
5
|
### Patch Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
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, e as RouterInit } from './instrumentation-
|
|
2
|
+
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, e as RouterInit } from './instrumentation-B_F6ST7G.js';
|
|
3
3
|
|
|
4
4
|
type RSCRouteConfigEntryBase = {
|
|
5
5
|
action?: ActionFunction;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
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, e as RouterInit } from './router-
|
|
2
|
+
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, e as RouterInit } from './router-BEkBixDr.mjs';
|
|
3
3
|
|
|
4
4
|
type RSCRouteConfigEntryBase = {
|
|
5
5
|
action?: ActionFunction;
|