react-router-dom
Advanced tools
Changelog
v6.4.4
Date: 2022-11-30
action
/loader
function returns undefined
as revalidations need to know whether the loader has previously been executed. undefined
also causes issues during SSR stringification for hydration. You should always ensure your loader
/action
returns a value, and you may return null
if you don't wish to return anything. (#9511)basename
in static data routers (#9591)ErrorResponse
bodies to contain more descriptive text in internal 403/404/405 scenariosNavLink
and descendant <Routes>
(#9589, #9647)ErrorResponse
instances when using built-in hydration (#9593)basename
in static data routers (#9591)@remix-run/router@1.0.4
react-router@6.4.4
Full Changelog: v6.4.3...v6.4.4
Changelog
v6.4.3
Date: 2022-11-01
<a href>
values when using createHashRouter
(#9409)formAction
pathnames when an index
route also has a path
(#9486)relative=path
prop on NavLink
(#9453)NavLink
behavior for root urls (#9497)useRoutes
should be able to return null
when passing locationArg
(#9485)initialEntries
type in createMemoryRouter
(#9498)basename
and relative routing in loader
/action
redirects (#9447)action
function (#9455)@remix-run/router
(#9446)createURL
in local file execution in Firefox (#9464)Full Changelog: v6.4.2...v6.4.3