~/talk

TypeScript for React developers

links:none on file
slides:none on file

Shows a concrete migration path: add create-react-app + TypeScript, flip a .js to .tsx, enable strict: true, and let inference catch most types while reserving any as an escape hatch. Demonstrates JSX typing, function vs class component generics, discriminated-union state machines, and using createSlice from Redux Starter Kit to generate typed actions so dispatching mySlice.actions.incrementBy(3) is statically checked and editor intellisense works.

AI-written summary · about

  1. 0:00Start
  2. 3:48Benefits of Using Typescript Type-Checking and Intelligence
  3. 4:08Key Reasons To Use Typescript
  4. 4:40Typescript Builds on Top of Javascript
  5. 5:17Compiler
  6. 10:33Install Typescript
  7. 16:08Strict Mode
  8. 22:03Void Type
  9. 27:29Interfaces or Complex Types
  10. 30:34Generic Generics
  11. 35:24Using Class Components
  12. 43:32Generic Functions
  13. 54:45Arguments
~/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.