A context provided to route data loaders.
OptionalcontextA context provided to route data loaders.
OptionalerrorA component that is rendered when an error was thrown during route rendering.
This component is used only for root routes that don't specify their own errorComponent.
Routes without an errorComponent don't have an error boundary.
OptionalloadingWhat to render when lazyComponent or dataLoader are being loaded.
This is the default setting for all routes that don't specify their own loadingAppearance.
OptionalloadingA component that is rendered when a lazyComponent or a dataLoader are being loaded. Render a skeleton or a spinner in this component to notify user that a new route is being loaded.
This component is used only for root routes that don't specify their own loadingComponent.
Routes without a loadingComponent suspend a parent route.
OptionalnonceA nonce string to allow hydration scripts under a
script-src Content-Security-Policy.
OptionalnotA component that is rendered if notFound was called during route loading or rendering or if there's no route that matches the location a router was navigated to.
This component is used only for root routes that don't specify their own notFoundComponent.
Routes without notFoundComponent propagate notFound to a parent route.
OptionalrenderingWhere the route is rendered.
This is the default setting for all routes that don't specify their own renderingDisposition.
Routes that a router can match.
OptionalserializerStringifies a route state before it is sent to the client.
Options provided to the SSRRouter constructor.