Replies: 1 comment
-
It is not necessary to return a submission result back every time and just return null. Conform will ignore it and do nothing. If you want to pass along additional message, you can use the same pattern here: #816 (comment) Having said that, I think this is a valid question if we care about progressive enhancement 🤔 definitely something I should consider for future api |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to rate limit before I use Conform from server action. Of course I can return any object I want for my client, but then I can't make Typescript work with Conform. The only way I've found is to use
submission.reply
and put my rate limit error informErrors
. But I don't need to perform zod validation before this! Only after rate limitAny way to use submission.reply() without actual zod validation? Any other way to handle custom responses?
Beta Was this translation helpful? Give feedback.
All reactions