File tree Expand file tree Collapse file tree 7 files changed +13
-7
lines changed Expand file tree Collapse file tree 7 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ https://github.com/remix-run/react-router/blob/main/packages/react-router/lib/do
2020
2121## Summary
2222
23- [ Reference Documentation ↗] ( https://api.reactrouter.com/v7/functions /react_router.Form.html )
23+ [ Reference Documentation ↗] ( https://api.reactrouter.com/v7/variables /react_router.Form.html )
2424
2525A progressively enhanced HTML [ ` <form> ` ] ( https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form )
2626that submits data to actions via [ ` fetch ` ] ( https://developer.mozilla.org/en-US/docs/Web/API/fetch ) ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ https://github.com/remix-run/react-router/blob/main/packages/react-router/lib/do
2020
2121## Summary
2222
23- [ Reference Documentation ↗] ( https://api.reactrouter.com/v7/functions /react_router.Link.html )
23+ [ Reference Documentation ↗] ( https://api.reactrouter.com/v7/variables /react_router.Link.html )
2424
2525A progressively enhanced [ ` <a href> ` ] ( https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a )
2626wrapper to enable navigation with client-side routing.
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ https://github.com/remix-run/react-router/blob/main/packages/react-router/lib/do
2020
2121## Summary
2222
23- [ Reference Documentation ↗] ( https://api.reactrouter.com/v7/functions /react_router.NavLink.html )
23+ [ Reference Documentation ↗] ( https://api.reactrouter.com/v7/variables /react_router.NavLink.html )
2424
2525Wraps [ ` <Link> ` ] ( ../components/Link ) with additional props for styling active and
2626pending states.
Original file line number Diff line number Diff line change @@ -36,6 +36,12 @@ createRoot(document.getElementById("root")).render(
3636);
3737```
3838
39+ <docs-info >Please note that this component is exported both from ` react-router ` and
40+ ` react-router/dom ` with the only difference being that the latter automatically
41+ wires up the ` react-dom ` ` flushSync ` implementation. You _ almost always_ want
42+ to use the version from ` react-router/dom ` unless you're running in a non-DOM
43+ environment.</docs-info >
44+
3945## Signature
4046
4147``` tsx
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ function HydratedRouter(props: HydratedRouterProps)
3333
3434### unstable_getContext
3535
36- Context object to be passed through to [` createBrowserRouter ` ](../ data - routers / createBrowserRouter ) and made available to
37- [` clientAction ` ](../ ../ start / framework / route - module #clientAction )/ [` clientLoader ` ](../ ../ start / framework / route - module #clientLoader )
36+ Context object to be passed through to [` createBrowserRouter ` ](../ data - routers / createBrowserRouter ) and made
37+ available to [` clientAction ` ](../ ../ start / framework / route - module #clientAction )/ [` clientLoader ` ](../ ../ start / framework / route - module #clientLoader )
3838functions
3939
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ to release notes for relevant changes.</docs-warning>
2828
2929## Summary
3030
31- [ Reference Documentation ↗] ( https://api.reactrouter.com/v7/functions /react_router.unstable_matchRSCServerRequest.html )
31+ [ Reference Documentation ↗] ( https://api.reactrouter.com/v7/variables /react_router.unstable_matchRSCServerRequest.html )
3232
3333Matches the given routes to a [ ` Request ` ] ( https://developer.mozilla.org/en-US/docs/Web/API/Request )
3434and returns an [ RSC] ( https://react.dev/reference/rsc/server-components )
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ https://github.com/remix-run/react-router/blob/main/packages/react-router/lib/co
2020
2121## Summary
2222
23- [ Reference Documentation ↗] ( https://api.reactrouter.com/v7/functions /react_router.createRoutesFromElements.html )
23+ [ Reference Documentation ↗] ( https://api.reactrouter.com/v7/variables /react_router.createRoutesFromElements.html )
2424
2525Create route objects from JSX elements instead of arrays of objects.
2626
You can’t perform that action at this time.
0 commit comments