One advantage, other than dead simple validation controls, of switching from #jsonforms to #formik means I have far more control of how the UI works.
#JSONForms #formik #react #reactjs #forms
What a day… Ended yesterday off with trying to get form level validation working with #jsonforms, this morning I decided it’s a better use of my time to just move over to #formik instead. Took less time to rewrite than it had taken to get half the validations working, and that was a hack at best.
#JSONForms #formik #forms #react #reactjs
https://dev.to/ixartz/how-to-build-a-contact-form-with-formik-in-next-js-and-typescript-1173 - #React #forms stay mostly in #HTML with #Formik. Nice post https://github.com/ixartz.
Where's my yesterday day gone? Bug hunting. So much frustrated about this change in #React 18 about Automatic Batching.
https://reactjs.org/blog/2022/03/29/react-v18.html#new-feature-automatic-batching
It breaks #Formik internal state management. And I mistakenly wanted to blame my code for this, but it is not.
https://github.com/jaredpalmer/formik/issues/3602
Well, that's life, when you bet on #OSS frameworks and libraries, I guess. Still very frustrating.