StaticHandlerContext
react-router

StaticHandlerContext interface

State returned from a server-side query() call

Properties

_deepestRenderedBoundaryId

Type: null | string

actionData

Type: null | RouteData

actionHeaders

Type: Record<string, Headers>

basename

Type: undefined | string

errors

Type: null | RouteData

loaderData

Type: RouteData

loaderHeaders

Type: Record<string, Headers>

location

Type: Location<any>

matches

Type: AgnosticDataRouteMatch[]

statusCode

Type: number

Docs and examples CC 4.0