New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Expand on cleanup behaviour for submission handlers #3876
Conversation
Cover use cases for both using a submission handler that returns a promise, and for a one which does not. Add FAQ entry about submission handler cleanup.
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 2e597c8:
|
Wrap FAQ entry in `details correctly. Remove use of inline code markers in `summary` as it seems like they are not supported.
Add spacing between lines to support proper inline code formatting.
Please squash if merged, do not immortalise my formatting mistakes 😂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks :)
Cover use cases for both using a submission handler that returns a promise, and for a one which does not.
Add FAQ entry about submission handler cleanup.
Following submission handling logic from https://github.com/jaredpalmer/formik/blob/main/packages/formik/src/Formik.tsx#L754-L782