-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
fix(remix-react): Form
's method
shouldn't be ignored
#4413
fix(remix-react): Form
's method
shouldn't be ignored
#4413
Conversation
|
Welcome, and thank you for contributing to Remix! Before we consider your pull request, we ask that you sign our Contributor License Agreement (CLA). We require this only once. You may review the CLA and sign it by adding your name to contributors.yml. Once the CLA is signed, the If you have already signed the CLA and received this response in error, or if you have any questions, please contact us at [email protected]. Thanks! - The Remix team |
Thank you for signing the Contributor License Agreement. Let's get this merged! 🥳 |
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.
Thank you so much for the reproduction and fix @maxschwarzmueller !
Could you remove the generated file?
I'll get eyes on this PR today hopefully
The spec only supports POST and GET, so this change will make |
I'm aware of the Or am I missing something here? |
@jenseng this is stressed out in the docs (https://remix.run/docs/en/v1/api/remix#form-method) but I'd love to see |
I'll leave that up to you. |
We definitely shouldn't break existing behavior, so limiting |
Sounds like there are two things going on here... if As for other methods, those are great points on the docs and breaking changes. I wonder if we should more strongly discourage their usage (e.g. in dev mode do a console.warn)? One of Remix' big selling points is that it works before/without JavaScript, and this violates that. |
Form
's method
shouldn't be ignored
Would you like to start a new discussion on that? I think there's merit and I'd be happy to run it up the flag pole (aka get @ryanflorence to weigh in since his GH notifications are a tire fire 😂) |
Sure thing, will do 👍
…On Tue, Oct 25, 2022 at 12:52 PM Chance Strickland ***@***.***> wrote:
As for other methods, those are great points on the docs and breaking
changes. I wonder if we should more strongly discourage their usage (e.g.
in dev mode do a console.warn)? One of Remix' big selling points is that it
works before/without JavaScript, and this violates that.
Would you like to start a new discussion on that? I think there's merit
and I'd be happy to run it up the flag pole (aka get @ryanflorence
<https://github.com/ryanflorence> to weigh in since his GH notifications
are a tire fire 😂)
—
Reply to this email directly, view it on GitHub
<#4413 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA2XMKOBUT24MVM5XQ6LS3WFAT7JANCNFSM6AAAAAARNVVQIQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Opened a discussion here |
Should be fixed in |
🤖 Hello there, We just published version Thanks! |
Fixes #4412