-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v2: remove fetcher back-compat layer
- Loading branch information
1 parent
a6458ca
commit 9369212
Showing
5 changed files
with
13 additions
and
796 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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`) | ||
* `<fetcher.Form method="get">` is now more accurately categorized as `state:"loading"` instead of `state:"submitting"` to better align with the underlying GET request |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.