T
TanStack14mo ago
inland-turquoise

onSubmit behavior with SSR seems to be incorrect

It seems to me that: * onSubmit should not be required * isSubmitting should be true while the server action is executing and false before and after that (but it is true only during onSubmit execution) I now resort to using isPending that is returned from useActionState as it matches my expectations.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?