Skip to content

Interface: RouteArgs ​

Defined in: packages/react-router/src/server.ts:40

What every loader and action gets: { request, params, context } (Route.LoaderArgs, Route.ActionArgs, or Remix's LoaderFunctionArgs). Only request is read by this package; getSubject and team get the whole object.

Properties ​

PropertyTypeDescriptionDefined in
context?unknown-packages/react-router/src/server.ts:44
paramsReadonly<Record<string, string | undefined>>The route params: params.teamId on a /teams/:teamId route.packages/react-router/src/server.ts:43
requestRequest-packages/react-router/src/server.ts:41

Released under the MIT License. Inspired by spatie/laravel-permission.