~/talk

Streamlined Form Management in React with Formik

Talkat Connect.Tech 2021 · 2021-11-08..11-10· [react, developer-experience]
links:none on file
slides:none on file

Shows how Formik replaces manual controlled-state and event handlers with context hooks (useField, useFormikContext) and schema validation via Yup integration, cutting boilerplate so a two-field login fits on one slide. Demo app implements both vanilla and Formik versions, tests with React Testing Library remain the same except a wrapped fireEvent.click in act, submission uses async fetch and Formik’s isSubmitting flag, and Formik docs are at formik.org.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 0:41Problem with React forms
  3. 3:55Adding validation to forms
  4. 6:04Introducing Formik
  5. 7:50Creating Formik-aware fields
  6. 9:39Validation with Yup
  7. 13:16Q&A on custom validation
  8. 15:03Testing forms with Formik
  9. 18:55Async submission handling
  10. 21:23Advanced field integration
  11. 23:31Comparing form libraries
  12. 26:42Performance and popularity
  13. 27:44UI component libraries
  14. 28:29Closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.