~/talk

Generating a Reactive Model from Contracts

TalkinRussianat HolyJS 2024 Spring · 2024-04-15..04-27· [typescript, frontend-architecture]
links:none on file
slides:none on file

Shows how to generate a reactive model from Zod contracts by using Zod schemas as the single source of truth. Describes working with Zod internals, the limitations of Zod and contracts in general, and demonstrates how this approach reduced code duplication and increased reliability when the same domain data is otherwise described in types, stores, and components.

AI-written summary · about

  1. 0:00Introduction
  2. 3:01Complex interfaces reactivity
  3. 8:29Rendering optimization
  4. 12:41Data sync with atoms
  5. 18:47Reactive models with Zod
  6. 24:29Zod UI components
  7. 30:10Zod mapping details
  8. 37:33Zod parsing issues
  9. 42:52Summary benefits
  10. 43:34Q&A
~/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.