react-run-web
react-run-web copied to clipboard
chore(deps): update dependency react-router-dom to v7
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| react-router-dom (source) | ^6.10.0 -> ^7.0.0 |
Release Notes
remix-run/react-router (react-router-dom)
v7.0.1
Patch Changes
- Updated dependencies:
v7.0.0
Major Changes
-
Remove the original
deferimplementation in favor of using raw promises via single fetch andturbo-stream. This removes these exports from React Router: (#11744)deferAbortedDeferredErrortype TypedDeferredDataUNSAFE_DeferredDataUNSAFE_DEFERRED_SYMBOL,
-
Use
createRemixRouter/RouterProviderinentry.clientinstead ofRemixBrowser(#11469) -
Remove single_fetch future flag. (#11522)
-
Remove
future.v7_startTransitionflag (#11696) -
Remove
future.v7_normalizeFormMethodfuture flag (#11697) -
Allow returning
undefinedfrom actions and loaders (#11680) -
update minimum node version to 18 (#11690)
-
Remove
future.v7_prependBasenamefrom the ionternalized@remix-run/routerpackage (#11726) -
Remove
future.v7_throwAbortReasonfrom internalized@remix-run/routerpackage (#11728) -
Add
exportsfield to all packages (#11675) -
node package no longer re-exports from react-router (#11702)
-
updates the minimum React version to 18 (#11689)
-
- Remove the
future.v7_partialHydrationflag (#11725)- This also removes the
<RouterProvider fallbackElement>prop- To migrate, move the
fallbackElementto ahydrateFallbackElement/HydrateFallbackon your root route
- To migrate, move the
- Also worth nothing there is a related breaking changer with this future flag:
- Without
future.v7_partialHydration(when usingfallbackElement),state.navigationwas populated during the initial load - With
future.v7_partialHydration,state.navigationremains in an"idle"state during the initial load
- Without
- This also removes the
- Remove the
-
Remove
future.v7_fetcherPersistflag (#11731)
Minor Changes
- Add prefetching support to
Link/NavLinkwhen using Remix SSR (#11402) - Enhance
ScrollRestorationso it can restore properly on an SSR'd document load (#11401) - Add built-in Remix-style hydration support to
RouterProvider. When running from a Remix-SSR'd HTML payload with the properwindowvariables (__remixContext,__remixManifest,__remixRouteModules), you don't need to pass arouterprop andRouterProviderwill create therouterfor you internally. (#11396) (#11400)
Patch Changes
- Memoize some
RouterProviderinternals to reduce uneccesary re-renders (#11817) - Updated dependencies:
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.