formspree-js
formspree-js copied to clipboard
[issue] Add the reset function to the docs
Is there an existing issue for this?
- [X] I have searched the existing issues
Formspree React Version
2.4.0
Formspree Core Version
n/a
Current Behavior
Please add information about the reset
function to the @formspree/react
documentation. I was just wrestling with a bug for some time, and knowing the reset
function was exposed by useForm
would have been a huge time saver. I only discovered it by looking into the codebase.
Also wondering why the state can't be reset by default on a new form submission?
Expected Behavior
No response
Steps To Reproduce
No response
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response
I had to dive into the codebase to find this out too. I think documentation could be improved.