How to use useSubmission with server action passed to form?
I have a server action that returns data:
When I submit the form, I get no status data back. How am I supposed to use the
useSubmission
hook with server action and Form?2 Replies
the values on
status
are reactive, try wrapping the console.log
in a createEffect
Makes sense thank you!