Input data to the useSubmit hook #3589
-
Hello!! I've been trying to leverage the full power of FormData in Remix and I love it so far. I was looking for ways to work around inputting more custom data to the Do you know if there are good ways to do it? Or if the Remix APIs support something like that? 🙏🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The docs say:
Doesn't that mean that you could create your own
The above is prototype code but is meant to demonstrate that I can't see any fundamental reason why you can't do what you're suggesting. |
Beta Was this translation helpful? Give feedback.
The docs say:
Doesn't that mean that you could create your own
FormData
which can be passed? That means you can pass whatever you like tosubmit
. For example: