ResultType |
joinPaths | |
json | This is a shortcut for creating |
normalizeHash | |
normalizePathname | |
normalizeSearch | |
redirect | A redirect response. Sets the status code and the |
convertRoutesToDataRoutes | |
defer | |
generatePath | Returns a path with params interpolated. |
getPathContributingMatches | |
getToPathname | |
isRouteErrorResponse | Check if the given error is an ErrorResponse generated from a 4xx/5xx Response throw from an action/loader |
matchPath | Performs pattern matching on a URL pathname and returns information about the match. |
matchRoutes | Matches the given routes to a location and returns the match data. |
resolvePath | Returns a resolved path object relative to the given pathname. |
resolveTo | |
stripBasename | |
warning |
ActionFunction | Route action function signature |
ActionFunctionArgs | Arguments passed to action functions |
AgnosticDataRouteMatch | |
AgnosticRouteMatch | A RouteMatch contains info about how a route matched a URL. |
DeferredResult | Successful defer() result from a loader or action |
ErrorResult | Unsuccessful result from a loader or action |
LoaderFunction | Route loader function signature |
LoaderFunctionArgs | Arguments passed to loader functions |
PathMatch | A PathMatch contains info about how a PathPattern matched on a URL pathname. |
PathPattern | A PathPattern is used to match on some portion of a URL pathname. |
RedirectResult | Redirect result from a loader or action |
RouteData | Map of routeId -> data returned from a loader/action/error |
ShouldRevalidateFunction | Route shouldRevalidate function signature. This runs after any submission (navigation or fetcher), so we flatten the navigation/fetcher submission onto the arguments. It shouldn't matter whether it came from a navigation or a fetcher, what really matters is the URLs and the formData since loaders have to re-run based on the data models that were potentially mutated. |
Submission | |
SuccessResult | Successful result from a loader or action |
TrackedPromise |
AgnosticDataIndexRouteObject | |
AgnosticDataNonIndexRouteObject | |
AgnosticDataRouteObject | A data route object, which is just a RouteObject with a required unique ID |
AgnosticIndexRouteObject | Index routes must not have children |
AgnosticNonIndexRouteObject | Non-index routes may have children, but cannot have index |
AgnosticRouteObject | A route object represents a logical route, with (optionally) its child routes organized in a tree-like structure. |
DataResult | Result from a loader or action - potentially successful or unsuccessful |
FormEncType | |
FormMethod | |
JsonFunction | |
MutationFormMethod | |
ParamParseKey | |
Params | The parameters that were parsed from the URL path. |
RedirectFunction |