SolidJSS
SolidJS9mo ago
7 replies
ctrl-z

Clearing form after action in solid-start

Searches on this discord return old posts that suggest using createEffect on submission.pending along with a ref to the form to do clearing.

I'm just checking if this is still the right way to handle form clearing after successful actions. Please let me know if you have a better suggestion.

Thanks
Was this page helpful?