Daria Caraway at JSworld Conference about TypeScript
summary
TypeScript can make React component APIs considerate for developers by using concrete patterns not platitudes: demonstrating generic constraints (e g T extends number|string) to prevent surprises, showing how to extend HTML element props so dynamic tag components accept native attributes, automating style and ergonomics with ESLint + Prettier to eliminate noisy PR comments, and shipping a real PR that fixed misleading types during a migration from AngularJS to React TypeScript so the fix actually works.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:04TypeScript for developer experience
- 3:10Code and tooling ergonomics
- 5:35Learning from libraries
- 6:39Shell and dev environments
- 8:29Team coding standards
- 10:56Generic types in TypeScript
- 12:00Adopting TypeScript and Prettier
- 13:48Typing React components
- 15:14TypeScript learning curve
- 16:38Resources and Daria Caraway
- 17:42Closing remarks
related talks
27mMatthew Gerstman - TypeScript: Seeing Past the Hype
01h 25mWorkshop: TypeScript Plus React = Love
12mHow TypeScript Ruined My Life (In a Good Way)
11mThe Joy of Typescript
57mBuilding Scalable, Maintainable Apps Using TypeScript and React
42mTypeScript Patterns for Better React Components
49mTypescript + React
23mTypeScript + React = ❤️
