remix-forms
remix-forms copied to clipboard
Add `replace` prop to `Form`
Could we please add replace prop to Form so that we can be submitting forms (method GET) and replacing the history. A use case would be e.g. when we have filter forms where the URL changes but we don't want to keep all the filter changes in the history (navigation back).
We've temporarily fixed this by patching the package as follows:
I'm happy to help with this if you give me green light.
Thanks.
Hey, @kaciakmaciak! Yes, can you please send a PR? Thank you!