diff --git a/.changeset/v2-remove-fetcher-compat.md b/.changeset/v2-remove-fetcher-compat.md index a9880665759..987d7541e82 100644 --- a/.changeset/v2-remove-fetcher-compat.md +++ b/.changeset/v2-remove-fetcher-compat.md @@ -2,7 +2,8 @@ "@remix-run/react": major --- -Remove back-compat layer for `useFetcher`/`useFetchers`. This includes a few small breaking changes: -* `fetcher.type` has been removed since it can be derived from other available information -* "Submission" fields have been flattened from `fetcher.submission` down onto the root `fetcher` object, and prefixed with `form` in some cases (`fetcher.submission.action` => `fetcher.formAction`) -* `` is now more accurately categorized as `state:"loading"` instead of `state:"submitting"` to better align with the underlying GET request +Remove back-compat layer for `useFetcher`/`useFetchers`. This includes a few small breaking changes: + +- `fetcher.type` has been removed since it can be derived from other available information +- "Submission" fields have been flattened from `fetcher.submission` down onto the root `fetcher` object, and prefixed with `form` in some cases (`fetcher.submission.action` => `fetcher.formAction`) +- `` is now more accurately categorized as `state:"loading"` instead of `state:"submitting"` to better align with the underlying GET request diff --git a/.changeset/v2-remove-use-transition.md b/.changeset/v2-remove-use-transition.md index e483054b24a..21ba7432145 100644 --- a/.changeset/v2-remove-use-transition.md +++ b/.changeset/v2-remove-use-transition.md @@ -2,8 +2,8 @@ "@remix-run/react": major --- -Remove deprecated `useTransition` hook in favor of `useNavigation`. `useNavigation` is _almost_ identical with a few exceptions:_ +Remove deprecated `useTransition` hook in favor of `useNavigation`. `useNavigation` is _almost_ identical with a few exceptions:\_ -* `useTransition.type` has been removed since it can be derived from other available information -* "Submission" fields have been flattened from `useTransition().submission` down onto the root `useNavigation()` object -* `
` is now more accurately categorized as `state:"loading"` instead of `state:"submitting"` to better align with the underlying GET navigation +- `useTransition.type` has been removed since it can be derived from other available information +- "Submission" fields have been flattened from `useTransition().submission` down onto the root `useNavigation()` object +- `` is now more accurately categorized as `state:"loading"` instead of `state:"submitting"` to better align with the underlying GET navigation