react-router-native
Advanced tools
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
Changelog
v6.25.1
Date: 2024-07-17
RouterProvider
internals to reduce unnecessary re-renders (#11803)Full Changelog: v6.25.0...v6.25.1