Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Our wish to Flowtype

18,712 views

Published on

LT at React.js meetup #2
http://reactjs-meetup.connpass.com/event/19504/

Published in: Technology
  • Be the first to comment

Our wish to Flowtype

  1. 1. Our wish to Flowtype @teppeis React.js meetup #2 Sep 8, 2015
  2. 2. Hello! • Teppei Sato, @teppeis • Cybozu, Inc. / kintone • Closure Compiler / TypeScript / Flowtype
  3. 3. MUST BUY!
  4. 4. I've talked "Flowtype Introduction" twice…
  5. 5. Flowtype is awesome!
  6. 6. Strong type inference
  7. 7. React.js integration
  8. 8. Check propTypes statically
  9. 9. Flowtype is NOT a language
  10. 10. Just a type checker (now :)) $ jstransform --strip-types • Just strip types!
  11. 11. Less original syntax
  12. 12. Less original syntax // type cast in Flowtype var strOrNull = (null: ?string); // type cast in TypeScript var strOrNull = <string> null; • Only type annotation with ":" • ECMAScript standard friendly
  13. 13. Fast! Fast! Fast!
  14. 14. Many Facebook repos using Flowtype are published
  15. 15. Our Facebook made it!
  16. 16. after
  17. 17. Why?
  18. 18. d.ts is not supported yet
  19. 19. Not friendly with npm
  20. 20. Incomplete documentation Many pitfalls…
  21. 21. Hard to contribute…
  22. 22. I wait eagerly Flowtype!
  23. 23. Thanks!

×