~/talk

Static typing with Flow and TypeScript

Talkat React.js Conf 2015 · on Thursday, 2015-01-29· [typescript]
slides:none on file

Shows exactly how Flow and TypeScript behave with React: converts a small image‑viewer app, uses webpack and a precompile step to strip or transform JSX, and ships a working build. Demonstrates a practical react.jsx wrapper hack plus a ts-gx loader chain to satisfy TypeScript, explains why ES6 classes remove pain, and documents that mixins break inference. Catches real bugs (string vs number prop/state errors) and proves the app compiles and runs.

AI-written summary · about

  1. 0:00Start
  2. 0:21Static Typing
  3. 2:38Flow in Typescript
  4. 3:33Add Function
  5. 4:16Type Annotations
  6. 6:30Webpack
  7. 7:45Type Script Loader
  8. 8:19Typescript Does Not Understand Jsx
  9. 10:44Pre Compile
  10. 12:18External Modules
  11. 15:30Pre Compilation
  12. 24:50Errors
  13. 25:17Returned Missing Annotation
  14. 26:40Jsx Loader
  15. 31:21References
~/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.