Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Empowering your React application with Flow type system

Olena Sovyn
December 06, 2019

Empowering your React application with Flow type system

Olena Sovyn

December 06, 2019
Tweet

More Decks by Olena Sovyn

Other Decks in Technology

Transcript

  1. 2. Spot “black holes” Black holes are functions return values

    of which have type any, even though their types can be more specific based on the function internal logic
  2. Let’s do our codebases automagically better! 1. Be as exact

    as possible 2. Spot “black holes” 3. Meaningful type names Check also: What? How? Why? 1. No unused properties 2. Improved refactoring 3. Documentation in place find and follow simple rules @frontendgirl http://frontendgirl.com/flow-best-practices/