Real World React - A Gentle Introduction to React + TypeScript

Опубликовано: 23 Март 2026
на канале: swyx
1,530
39

Real World React - A Gentle Introduction to React + TypeScript

Jan 17 2019 at General Assembly SF


Links:

---


More stuff to check out 💰

Advanced Types: https://www.typescriptlang.org/docs/h...

Keywords:

`typeof`
`Partial/Pick/Record/Readonly`
`Exclude/Extract/ReturnType/NonNullable/InstanceType`
Type-Zoo

DefinitelyTyped: https://github.com/DefinitelyTyped/De...

Here Be Dragons 🐉

TypeScript isn't perfect. Here are just some things that people struggle with:

Generic Type Logic:   / 1081597225623523328  
Linting: TSLint vs ESLint
Bikeshedding: Multiple ways to do things

Why do you use TypeScript? 🤔

Why do you test your code? Correctness!
➡️Unit/Integration tests test clusters of happy/unhappy paths
➡️Typechecking categorically excludes whole categories of unhappiness
➡️  / 1085985558315163648  
➡️Gary Bernhardt's Ideology: https://www.destroyallsoftware.com/ta...
Feedback Loop: MORE errors, faster vs LESS errors, further away
Free Team Member for Pair Programming

Call To Action 🔉

https://github.com/sw-yx/react-typesc...
  / reactjs  
  / swyx