~/talk

Static Type Checking with FlowType

Talkat JS Conf Armenia 2017 · on Saturday, 2017-12-09· [javascript, typescript]
links:none on file
slides:none on file

Claims that FlowType flags real mismatches in JavaScript and makes large refactors safer, showing concrete examples: FlowType reports "type is incompatible" errors across React reducers and action payloads, catches "cannot read property of undefined", and prevents wrong arithmetic on numbers versus strings. The workflow uses Flow with React/Redux and unit tests, migrates one file at a time, and runs the Flow CLI; results reduce crashes but do not make errors zero so the conclusion is pragmatic — it finds many real bugs and eases refactoring.

AI-written summary · about

  1. 0:00Static type checking intro
  2. 4:32FlowType prevents runtime errors
  3. 9:06Safe refactoring with FlowType
  4. 14:50Unit testing and coverage
  5. 20:05Handling null and undefined
  6. 24:00Custom types and OOP
  7. 27:50Redux action types
  8. 33:00FlowType in large apps
  9. 38:17FlowType vs TypeScript
  10. 40:11Q&A
~/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.