~/talk

TypeScript + React = ❤️

Talkat React Summit 2020 · 2020-10-14..10-15· [typescript, react]
slides:none on file

TypeScript eliminates concrete React bugs: missing props cause compile errors, props are required by default so omitted values fail fast, and mistyped prop names or renamed fields break the build. Function handlers get full argument and return types, discriminated unions forbid invalid dependent-prop combinations, and use Omit to override DOM props when wrapping native elements. Generic components make render-prop item types precise, generics give strongly typed render props. Slides and resources are on the linked site.

AI-written summary · about

  1. 0:00Intro
  2. 2:40React Components
  3. 3:31Props
  4. 4:01Passing Props
  5. 4:55Prop Types
  6. 5:43Optional
  7. 6:01Change Prop Name
  8. 6:41Nested Shape
  9. 7:38Proptypes
  10. 7:59TypeScript
  11. 8:46Advanced Pattern
  12. 9:36Invalid Configurations
  13. 11:20Type Safety
  14. 12:41New Props
  15. 14:45List
  16. 18:08Resources
  17. 19:59Outro
~/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.