~/talk

Building better forms with React 19

Talkat React Nexus 2025 · 2025-07-03..07-05· [react, frontend-architecture]
slides:none on file

React 19 reworks forms around an action API where synchronous functions are passed to the form action prop and receive a FormData object, eliminating manual preventDefault and manual FormData construction. The use action state hook returns the current state, a form action to attach or call, and an isPending flag, while use form status exposes parent form pending/data/method/action to nested fields. use optimistic enables immediate UI updates (example: chat replies shown before server confirmation). Recommended patterns: hybrid client+server validation, array-indexed dynamic fields, centralized parent state for multi-step flows.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:06Challenges with traditional forms
  3. 8:18React 19's new form features
  4. 13:02useActionState hook explained
  5. 18:26useFormStatus and useOptimistic hooks
  6. 24:55Advanced form patterns in React 19
  7. 27:02Closing and future outlook
~/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.