A source repository for a blog post about dynamic forms with Formik: https://scottdj92.ghost.io/building-dynamic-forms-with-formik-with-react-and-typescript/
Each branch of this repo will cover a specific use case to prevent the repo from getting cluttered.
Case | branch |
---|---|
Initial Form Creation | case 1 |
Form Validation | case 2 |
Custom styled fields | case 3 |
Array of fields | case 4 |
Each branch will use npm/yarn as the package manager.
npm install
oryarn install
to install all dependencies. It's recommended that this is done when you switch branches to ensure all packages are up to date.npm run dev
oryarn dev
to run the local development environment