diff --git a/.changeset/soft-moons-sneeze.md b/.changeset/soft-moons-sneeze.md new file mode 100644 index 0000000000..9c342862a8 --- /dev/null +++ b/.changeset/soft-moons-sneeze.md @@ -0,0 +1,5 @@ +--- +"react-router-dom": patch +--- + +Add static prop to `StaticRouterProvider`'s internal `Router` component diff --git a/packages/react-router-dom/server.tsx b/packages/react-router-dom/server.tsx index d93bd8383c..56bf96d48d 100644 --- a/packages/react-router-dom/server.tsx +++ b/packages/react-router-dom/server.tsx @@ -136,6 +136,7 @@ export function StaticRouterProvider({ location={state.location} navigationType={state.historyAction} navigator={dataRouterContext.navigator} + static={dataRouterContext.static} >