We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ClientDataFunctionArgs
context
1 parent dd3fb69 commit 3db3e2cCopy full SHA for 3db3e2c
packages/react-router/lib/types/route-module.ts
@@ -141,12 +141,9 @@ type ClientDataFunctionArgs<T extends RouteInfo> = {
141
**/
142
params: T["params"];
143
/**
144
- * When `future.unstable_middleware` is not enabled, this is undefined.
145
- *
146
- * When `future.unstable_middleware` is enabled, this is an instance of
147
- * `unstable_RouterContextProvider` and can be used to access context values
148
- * from your route middlewares. You may pass in initial context values in your
149
- * `<HydratedRouter unstable_getContext>` prop
+ * This is a `RouterContextProvider` instance generated from your router's
+ * `unstable_getContext` function and/or populated from route middleware
+ * functions.
150
*/
151
context: unstable_RouterContextProvider;
152
};
0 commit comments