File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
packages/react-router/lib/types Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -141,12 +141,9 @@ type ClientDataFunctionArgs<T extends RouteInfo> = {
141141 **/
142142 params : T [ "params" ] ;
143143 /**
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
144+ * This is a `RouterContextProvider` instance generated from your router's
145+ * `unstable_getContext` function and/or populated from route middleware
146+ * functions.
150147 */
151148 context : unstable_RouterContextProvider ;
152149} ;
You can’t perform that action at this time.
0 commit comments