Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
SlideShare a Scribd company logo
Our wish to
Flowtype
@teppeis
React.js meetup #2
Sep 8, 2015
Hello!
• Teppei Sato, @teppeis
• Cybozu, Inc. / kintone
• Closure Compiler / TypeScript / Flowtype
MUST BUY!
Our wish to Flowtype
I've talked
"Flowtype Introduction"
twice…
Our wish to Flowtype
Our wish to Flowtype
Flowtype is awesome!
Strong type inference
React.js integration
Check propTypes statically
Flowtype is NOT a language
Just a type checker (now :))
$ jstransform --strip-types
• Just strip types!
Less original syntax
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
Fast! Fast! Fast!
Many Facebook repos
using Flowtype
are published
Our Facebook made it!
Our wish to Flowtype
after
Our wish to Flowtype
Why?
d.ts is not supported yet
Our wish to Flowtype
Our wish to Flowtype
Not friendly with npm
Our wish to Flowtype
Our wish to Flowtype
Our wish to Flowtype
Our wish to Flowtype
Our wish to Flowtype
Our wish to Flowtype
Incomplete documentation
Many pitfalls…
Hard to contribute…
Our wish to Flowtype
I wait eagerly Flowtype!
Thanks!

More Related Content

Our wish to Flowtype