diff --git a/.changeset/rare-shoes-enjoy.md b/.changeset/rare-shoes-enjoy.md new file mode 100644 index 00000000000..72b590f0be9 --- /dev/null +++ b/.changeset/rare-shoes-enjoy.md @@ -0,0 +1,14 @@ +--- +"@remix-run/dev": minor +"@remix-run/react": minor +"@remix-run/server-runtime": minor +--- + +Stabilize React Router APIs in Remix + - Adopt stabilized React Router APIs internally + - Single Fetch: `unstable_dataStrategy` -> `dataStrategy` + - Lazy Route Discovery: `unstable_patchRoutesOnNavigation` -> `patchRoutesOnNavigation` + - Stabilize public-facing APIs + - Single Fetch: `unstable_data()` -> `data()` + - `unstable_viewTransition` -> `viewTransition` (`Link`, `Form`, `navigate`, `submit`) + - `unstable_flushSync>` -> `` (`Link`, `Form`, `navigate`, `submit`, `useFetcher`) diff --git a/docs/components/form.md b/docs/components/form.md index ddf22f5abdd..a9f9c4b4a40 100644 --- a/docs/components/form.md +++ b/docs/components/form.md @@ -95,13 +95,9 @@ If true, it will submit the form with the browser instead of client side routing This is recommended over [`