react-router-native
Advanced tools
Changelog
v6.26.2
Date: 2024-09-09
unstable_dataStrategy
API to allow for more advanced implementations (#11943)
unstable_dataStrategy
, please review carefully as this includes breaking changes to this APIunstable_HandlerResult
to unstable_DataStrategyResult
unstable_dataStrategy
from a parallel array of unstable_DataStrategyResult[]
(parallel to matches
) to a key/value object of routeId => unstable_DataStrategyResult
match.shouldLoad
)handlerOverride
instead of returning a DataStrategyResult
handlerOverride
will be wrapped up into a DataStrategyResult
and returned fromm match.resolve
match.resolve()
into a final results object you should not need to think about the DataStrategyResult
typehandlerOverride
, then you will need to assign a DataStrategyResult
as the value so React Router knows if it's a successful execution or an error (see examples in the documentation for details)fetcherKey
parameter to unstable_dataStrategy
to allow differentiation from navigational and fetcher callsblocker.proceed
is called quickly/synchronously (#11930)Full Changelog: v6.26.1...v6.26.2
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