You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Route.useRouteContext() returns an empty object instead of null #7110
As the title says, the Route.useRouteContext() function returns an empty object instead of null when defining beforeLoad to return null, regardless if it's a server function or not. The same behaviour does not occur with the loader and Route.useLoaderData functions. The type for Route.useRouteContext is correct however.
Activity
fix(router-core): treat null return from beforeLoad as no-op for rout…
test: pin 24 community-reported issues fixed by the match-loading wor…