Update dependency remix-run/react-router to v6.27.0 #247
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
6.26.2->6.27.0Release Notes
remix-run/react-router (remix-run/react-router)
v6.27.0Compare Source
Date: 2024-10-11
What's Changed
Stabilized APIs
This release stabilizes a handful of "unstable" APIs in preparation for the pending React Router v7 release (see these posts for more info):
unstable_dataStrategy→dataStrategy(createBrowserRouterand friends) (Docs)unstable_patchRoutesOnNavigation→patchRoutesOnNavigation(createBrowserRouterand friends) (Docs)unstable_flushSync→flushSync(useSubmit,fetcher.load,fetcher.submit) (Docs)unstable_viewTransition→viewTransition(<Link>,<Form>,useNavigate,useSubmit) (Docs)Minor Changes
unstable_flushSyncoption for navigations and fetchers (#11989)unstable_viewTransitionoption for navigations and the correspondingunstable_useViewTransitionStatehook (#11989)unstable_dataStrategy(#11974)unstable_patchRoutesOnNavigation(#11973)PatchRoutesOnNavigationFunctionArgstype for convenience (#11967)Patch Changes
?indexparam already exists from a prior submission (#12003)useFormActionbug - when removing?indexparam it would not keep other non-Remixindexparams (#12003)preventScrollResetthrough redirects during concurrent fetches (#11999)console.erroron fetcher abort due to back-to-back revalidation calls (#12050)partialHydrationwhen hydrating with errors (#12070)patchRoutesOnNavigationcalls (#12055)unstable_APIpatchRoutesOnNavigationinternally so that multiple navigations with the same start/end would only execute the function once and use the same promisepatchshort circuiting if a navigation was interrupted (and therequest.signalaborted) since the first invocation'spatchwould no-opimport()for async routes will already be cached automatically - and if not it's easy enough for users to implement this cache in userlanddiscoveredRoutesFIFO queue fromunstable_patchRoutesOnNavigation(#11977)unstable_APIpatchRoutesOnNavigationRouteObjectwithinPatchRoutesOnNavigationFunction'spatchmethod so it doesn't expect agnostic route objects passed topatch(#11967)patchRoutesOnNavigationdirectly touseRouteErrorinstead of wrapping them in a 400ErrorResponseinstance (#12111)Full Changelog:
v6.26.2...v6.27.0Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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.
This PR was generated by Mend Renovate. View the repository job log.