OptionalactionThe route action.
See action.
OptionalcaseWhether the path should be case-sensitive. Defaults to false.
OptionalchildrenChild Route components
OptionalComponentThe React Component to render when this route matches.
Mutually exclusive with element.
OptionalelementThe React element to render when this Route matches.
Mutually exclusive with Component.
OptionalErrorThe React Component to render at this route if an error occurs.
Mutually exclusive with errorElement.
OptionalerrorThe React element to render at this route if an error occurs.
Mutually exclusive with ErrorBoundary.
OptionalhandleThe route handle.
OptionalhasOptionalHydrateThe React Component to render while this router is loading data.
Mutually exclusive with hydrateFallbackElement.
OptionalhydrateThe React element to render while this router is loading data.
Mutually exclusive with HydrateFallback.
OptionalidThe unique identifier for this route (for use with DataRouters)
Whether this is an index route.
OptionallazyA function that returns a promise that resolves to the route object.
Used for code-splitting routes.
See lazy.
OptionalloaderThe route loader.
See loader.
OptionalmiddlewareThe route middleware.
See middleware.
OptionalpathThe path pattern to match. If unspecified or empty, then this becomes a layout route.
OptionalshouldThe route shouldRevalidate function.
See shouldRevalidate.