~/talk

A Deepdive Into Flow

Talkat ReactEurope 2016 · on Tuesday, 2016-05-31· [javascript, developer-experience]
github:jeffmo
slides:none on file

Flow is a static type checker for JavaScript used at Facebook that parses files, builds a flow graph (inference phase), then evaluates constraints to produce real errors; it models open types, get-prop/lookup semantics, prototype lookup and a mixed top type so typos like lengtha become precise type errors. Modules are analyzed in parallel with a worker pool using opens at boundaries. Prototypes, taint analysis prototype and dead‑code detection/tree‑shaking are implemented and shown to work on real code.

AI-written summary · about

  1. 0:00Introduction
  2. 1:55Parse
  3. 2:45Inference
  4. 3:28Scope
  5. 6:20String
  6. 7:30Flow constraint
  7. 10:38Syntax tree
  8. 12:24Property access
  9. 12:55Flow graph
  10. 21:01Flow in real life
~/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.