Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Persist for multiple refreshes (#14)
* Checking equality and form state from incoming props * stray comment
- Loading branch information
d22ffb0
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.
This isn't on the current version on NPM so I used patch-package to patch it. Here's the diff for anyone who finds this from Google:
patches/formik-persist+1.1.0.patch
:d22ffb0
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.
This helped me when putting the Form in a Material UI tab view.
Changes persisted on the first tab change, and were gone if you changed again.
This fixed that, though I have not extensively tested for possible regressions yet.