~/talk

Modern Forms in React

Talkat DevFest Toulouse 2019 · on Thursday, 2019-10-03· [react, frontend-architecture]
slides:none on file

Claims that Hooks remove form libraries get qualified by concrete tradeoffs: form state includes values, dirty/pristine, touched/visited, async submit errors and validation. A standalone engine called final form is framework-agnostic, subscription-based and weighs about 5k gzipped; React bindings (react final form) add ~3.1k so the combo is ~8.1k. API specifics: Form/Field components, form spy, and hooks like useField let code subscribe narrowly to avoid excessive re-renders.

AI-written summary · about

  1. 0:00Start
  2. 0:20FORMS IN REACT
  3. 2:27WHY USE CONTROLLED INPUTS
  4. 3:17HOW TO USE CONTROLLED INPUTS
  5. 6:13WHAT IS FORM STATE?
  6. 7:52THIS IS FORM STATE
  7. 9:39RF REDUX FORM
  8. 11:09CONCEIVING THE PERFECT FORM LIBRARY
  9. 14:43REACT FORM LIBRARY BUNDLE SIZES
  10. 15:18REACT FINAL FORM COMPONENTS
  11. 16:13REACT FINAL FORM HOOKS
  12. 40:04HOW AND WHEN TO CHOOSE A LIBRARY
~/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.