-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🗺 Alternate submission encodings #10413
Conversation
)"" This reverts commit f92aa2e.
🦋 Changeset detectedLatest commit: e22ec53 The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
submit({ key: "value" }); | ||
// navigation.formEncType => "application/x-www-form-urlencoded" | ||
// navigation.formData => FormData instance | ||
// navigation.text => "key=value" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's consider making text/formData/json all mutually exclusive to avoid buffering large bodies in memory
886716c
to
253cca7
Compare
303e7af
to
d849944
Compare
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
Updated approach for #10324
Note: inline fetcher
loader
/action
support was removed and this is trimmed to just add json/textencType
support. We need to figure out how react form actions impact the submit/fetcher API in this and Remix.TODO:
useSubmit
(only allowed onfetcher.submit
)encType
is limited to browser behavior on<Form>
/<fetcher.Form>