~/talk

Enhancing Forms with React Server Components

Talkat React Paris 2024 · on Friday, 2024-03-22· [react]
slides:none on file

Shows a Next.js 14 demo that turns a jokes CRUD form into progressively enhanced server-driven interactions using React Server Components, server actions, and the new form element. Uses Prisma for DB writes, Zod for validation, revalidatePath to refresh data, and hooks like useFormStatus, useFormState and useOptimistic to provide disabled buttons, server-side error surfaces, optimistic favorite toggles and toast feedback. Builds add/delete/favorite flows that work with full-page reloads (no JS) and upgrade to snappy client feedback after hydration.

AI-written summary · about

  1. 0:00Introduction and context
  2. 2:23Progressive enhancement
  3. 3:40React features overview
  4. 6:44Live coding demo
  5. 23:23Summary and conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.