Rendering context

Hierarchy

  • Record<string, any>
    • Context

Properties

location?: Location

Location object (client-only, you can only use location.pathname and location.search on server)

match?: RouteMatch<string, RouteObject>

Matched route params

navigate?: NavigateFunction

React Router navigate function (client-only)

req?: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>

Express.js request object (server-only)

res?: Response<any, Record<string, any>>

Express response object (server-only)

Generated using TypeDoc