What
It works now but it's SO hard to read:
- All the typescript gets in the way
- Formik's
withFormik hoc/weirdness
On top of that, it's complicated:
- Firebase's async loading of the profile
- converting
uids from the API to profiles with the PersonStore
Task
What's a Sane way to organise fields using Formik + Typescript?
Using hooks for fields?
Ref: https://jaredpalmer.com/formik/docs/guides/typescript
What
It works now but it's SO hard to read:
withFormikhoc/weirdnessOn top of that, it's complicated:
uidsfrom the API to profiles with thePersonStoreTask
What's a Sane way to organise fields using Formik + Typescript?
Using hooks for fields?
Ref: https://jaredpalmer.com/formik/docs/guides/typescript