Generating a Reactive Model from Contracts
summary
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
chapters (10)
- 0:00Introduction
- 3:01Complex interfaces reactivity
- 8:29Rendering optimization
- 12:41Data sync with atoms
- 18:47Reactive models with Zod
- 24:29Zod UI components
- 30:10Zod mapping details
- 37:33Zod parsing issues
- 42:52Summary benefits
- 43:34Q&A
related talks
45mBuild Fully Type Safe Projects with TypeScript and Zod
23mType-safe forms for React using Zod
21mKeep alive your typescript definitions using Zod
31mEscaping the Phantom Zone of Insecure Data: Build Safer Applications with zod
30mWith Zod, Fight Any-gration at Your Borders
15mValidate HTTP request with HttpClient & Zod - Lightning talk
15mTypescript. Runtime. And In Between.
55mRethinking Reactive Architectures
