This is the context passed in to your server adapter's getLoadContext() function. It's a way to bridge the gap between the adapter's request/response API with your React Router app. It is only applicable if you are using a custom server adapter.
Dynamic route params for the current route.
// app/routes.tsroute("teams/:teamId", "./team.tsx"),// app/team.tsxexport function loader({ params,}: Route.LoaderArgs) { params.teamId; // ^ string} Copy
// app/routes.tsroute("teams/:teamId", "./team.tsx"),// app/team.tsxexport function loader({ params,}: Route.LoaderArgs) { params.teamId; // ^ string}
A Fetch Request instance which you can use to read headers (like cookies, and URLSearchParams from the request.
This is the context passed in to your server adapter's getLoadContext() function. It's a way to bridge the gap between the adapter's request/response API with your React Router app. It is only applicable if you are using a custom server adapter.