-
-
Notifications
You must be signed in to change notification settings - Fork 11k
Commit 7618a23
authored
Update dependency react-router to v7.8.0 (#24632)
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| [react-router](https://redirect.github.com/remix-run/react-router)
([source](https://redirect.github.com/remix-run/react-router/tree/HEAD/packages/react-router))
| [`7.7.1` ->
`7.8.0`](https://renovatebot.com/diffs/npm/react-router/7.7.1/7.8.0) |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>remix-run/react-router (react-router)</summary>
###
[`v7.8.0`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#780)
[Compare
Source](https://redirect.github.com/remix-run/react-router/compare/[email protected]@7.8.0)
##### Minor Changes
- Add `nonce` prop to `Links` & `PrefetchPageLinks`
([#​14048](https://redirect.github.com/remix-run/react-router/pull/14048))
- Add `loaderData` arguments/properties alongside existing `data`
arguments/properties to provide consistency and clarity between
`loaderData` and `actionData` across the board
([#​14047](https://redirect.github.com/remix-run/react-router/pull/14047))
- Updated types: `Route.MetaArgs`, `Route.MetaMatch`, `MetaArgs`,
`MetaMatch`, `Route.ComponentProps.matches`, `UIMatch`
- `@deprecated` warnings have been added to the existing `data`
properties to point users to new `loaderData` properties, in preparation
for removing the `data` properties in a future major release
##### Patch Changes
- Prevent *"Did not find corresponding fetcher result"* console error
when navigating during a `fetcher.submit` revalidation
([#​14114](https://redirect.github.com/remix-run/react-router/pull/14114))
- Bubble client-side middleware errors prior to `next` to the
appropriate ancestor error boundary
([#​14138](https://redirect.github.com/remix-run/react-router/pull/14138))
- Switch Lazy Route Discovery manifest URL generation to usea standalone
`URLSearchParams` instance instead of `URL.searchParams` to avoid a
major performance bottleneck in Chrome
([#​14084](https://redirect.github.com/remix-run/react-router/pull/14084))
- Adjust internal RSC usage of `React.use` to avoid Webpack compilation
errors when using React 18
([#​14113](https://redirect.github.com/remix-run/react-router/pull/14113))
- Remove dependency on `@types/node` in TypeScript declaration files
([#​14059](https://redirect.github.com/remix-run/react-router/pull/14059))
- Fix types for `UIMatch` to reflect that the `loaderData`/`data`
properties may be `undefined`
([#​12206](https://redirect.github.com/remix-run/react-router/pull/12206))
- When an `ErrorBoundary` is being rendered, not all active matches will
have loader data available, since it may have been their `loader` that
threw to trigger the boundary
- The `UIMatch.data` type was not correctly handing this and would
always reflect the presence of data, leading to the unexpected runtime
errors when an `ErrorBoundary` was rendered
- 1 parent 97c5c34 commit 7618a23Copy full SHA for 7618a23
File tree
Expand file treeCollapse file tree
2 files changed
+5
-5
lines changedFilter options
- apps/admin-x-framework
Expand file treeCollapse file tree
2 files changed
+5
-5
lines changedapps/admin-x-framework/package.json
Copy file name to clipboardExpand all lines: apps/admin-x-framework/package.json+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
97 | 97 |
| |
98 | 98 |
| |
99 | 99 |
| |
100 |
| - | |
| 100 | + | |
101 | 101 |
| |
102 | 102 |
| |
103 | 103 |
| |
|
+4-4Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27922 | 27922 |
| |
27923 | 27923 |
| |
27924 | 27924 |
| |
27925 |
| - | |
27926 |
| - | |
27927 |
| - | |
27928 |
| - | |
| 27925 | + | |
| 27926 | + | |
| 27927 | + | |
| 27928 | + | |
27929 | 27929 |
| |
27930 | 27930 |
| |
27931 | 27931 |
| |
|
0 commit comments