react-router-native
Advanced tools
Changelog
v6.26.1
Date: 2024-08-15
unstable_patchRoutesOnMiss
to unstable_patchRoutesOnNavigation
to match new behavior (#11888)unstable_patchRoutesOnNavigation
logic so that we call the method when we match routes with dynamic param or splat segments in case there exists a higher-scoring static route that we've not yet discovered (#11883)
unstable_patchRoutesOnNavigation
against so that we don't re-call on subsequent navigations to the same pathFull Changelog: v6.26.0...v6.26.1
Changelog
v6.26.0
Date: 2024-08-01
replace(url, init?)
alternative to redirect(url, init?)
that performs a history.replaceState
instead of a history.pushState
on client-side navigation redirects (#11811)unstable_data()
API for usage with Remix Single Fetch (#11836)
createStaticHandler.query()
to allow loaders/actions to return arbitrary data along with custom status
/headers
without forcing the serialization of data into a Response
instanceunstable_dataStrategy
such as serializing via turbo-stream
in Remix Single Fetchstatus
field from HandlerResult
status
from unstable_dataStrategy
you should instead do so via unstable_data()
future.v7_partialHydration
along with unstable_patchRoutesOnMiss
(#11838)
router.state.matches
will now include any partial matches so that we can render ancestor HydrateFallback
componentsFull Changelog: v6.25.1...v6.26.0