Docs Flashcards

1
Q

What are the three annoying parts of forms that Formik handles?

A
  1. Getting values in and out of form state.<div>2. Validation and error messages.</div><div>3. Handling form submission.</div>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why use Formik over Redux-Form?

A
  1. Form state is inherently ephemeral and local, so tracking it in Redux is unnecessary.<div><br></br></div><div>2. Redux-Form calls your entire top-level Redux reducer multiple times ON EVERY SINGLE KEYSTROKE. That’s ok for small apps, but as a Redux app grows, input latency will continue to increase if you use</div><div><br></br></div><div>3. Redux-Form Redux-Form is 22.5 kb minified and gzipped, Formik is 12.7 kb</div>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly