chore(deps): bump react-router from 7.15.0 to 7.15.1 in the patch-updates group
Type: Pull Request
State: Closed
Association: Unknown
Comments: 3
(25 days ago)
(24 days ago)
(24 days ago)
Bumps the patch-updates group with 1 update: react-router.
Updates react-router from 7.15.0 to 7.15.1
Release notes
Sourced from react-router's releases.
v7.15.1
See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7151
Changelog
Sourced from react-router's changelog.
v7.15.1
Patch Changes
- Update router to operate on fetcher Maps in an immutable manner to avoid delayed React renders from potentially reading an updated but not yet committed Map. This could result in brief flickers in some fetcher-driven optimistic UI scenarios. (#15028)
- Fix
serverLoader()returning stale SSR data when a client navigation aborts pending hydration before the hydrationclientLoaderresolves (#15022)- Fix
RouterProvideronErrorcallback not being called for synchronous initial loader errors in SPA mode (#15039) (#14942)- Memoize
useFetchersto return a stable identity and only change if fetchers changed (#15028)- Internal refactor to consolidate mutation request detection through shared utility (#15033)
Unstable Changes
⚠️ Unstable features are not recommended for production use
- Add a new
unstable_useRouterState()hook that consolidates access to active and pending router states (RFC: #12358) (#15017)
Data/Framework/RSC only — throws when used without a data router
This should allow you to consolidate usages of the following hooks which will likely be deprecated and removed in a future major version
useLocationuseSearchParamsuseParamsuseMatchesuseNavigationTypeuseNavigationlet { active, pending } = unstable_useRouterState();// Active is always populated with the current location active.location; // replaces
useLocation()active.searchParams; // replacesuseSearchParams()[0]active.params; // replacesuseParams()active.matches; // replacesuseMatches()active.type; // replacesuseNavigationType()// Pending is only populated during a navigation pending.location; // replaces
useNavigation().locationpending.searchParams; // equivalent tonew URLSearchParams(useNavigation().search)pending.params; // Not directly accessible today pending.matches; // Not directly accessible today pending.type; // Not directly accessible today pending.state; // replacesuseNavigation().statepending.formMethod; // replaces useNavigation().formMethod pending.formAction; // replaces useNavigation().formAction pending.formEncType; // replaces useNavigation().formEncType pending.formData; // replaces useNavigation().formData pending.json; // replaces useNavigation().json pending.text; // replaces useNavigation().text
Commits
587d08fRelease v7.15.1 (#15038)89996bdFire onError for initial-load errors when RouterProvider mounts late (#15039)4322e58Update docs for useRouterStatefadd6c4Merge branch 'main' into release6bf91cechore: format44c3478fix: prevent fetcher formData flicker and eliminate state.fetchers mutations ...7e6725aCleanup lint issues (#15030)aabd30cUse shared isMutationMethod check (#15033)954a4a6Fix stale SSR data when hydration is aborted by a same-route navigation (#15022)041cd32fix(react-router): Internal preloads refactor to preserve types (#14860)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Package Dependencies
react-router
npm
7.15.0 → 7.15.1
Patch
the patch-updates group
Technical Details
| ID: | 15824865 |
| UUID: | 4459443179 |
| Node ID: | PR_kwDOSfFqds7cMFMz |
| Host: | GitHub |
| Repository: | STARTcloud/patchpanel |