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
20
20
21
21
## Summary
22
22
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 )
24
24
25
25
A progressively enhanced HTML [ ` <form> ` ] ( https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form )
26
26
that 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
20
20
21
21
## Summary
22
22
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 )
24
24
25
25
A progressively enhanced [ ` <a href> ` ] ( https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a )
26
26
wrapper 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
20
20
21
21
## Summary
22
22
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 )
24
24
25
25
Wraps [ ` <Link> ` ] ( ../components/Link ) with additional props for styling active and
26
26
pending states.
Original file line number Diff line number Diff line change @@ -36,6 +36,12 @@ createRoot(document.getElementById("root")).render(
36
36
);
37
37
```
38
38
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
+
39
45
## Signature
40
46
41
47
``` tsx
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ function HydratedRouter(props: HydratedRouterProps)
33
33
34
34
### unstable_getContext
35
35
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 )
38
38
functions
39
39
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ to release notes for relevant changes.</docs-warning>
28
28
29
29
## Summary
30
30
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 )
32
32
33
33
Matches the given routes to a [ ` Request ` ] ( https://developer.mozilla.org/en-US/docs/Web/API/Request )
34
34
and 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
20
20
21
21
## Summary
22
22
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 )
24
24
25
25
Create route objects from JSX elements instead of arrays of objects.
26
26
You can’t perform that action at this time.
0 commit comments