16 ms·
With Flow and React DOM/Native, you already get complete type-checking across mobile, native, and web application.
by applecore 11y ago
With Flow and React DOM/Native, you already get complete type-checking across mobile, native, and web application.
- patrickaljord 11y agoFor those wondering, more info here https://babeljs.io/docs/advanced/transformers/other/flow/ https://babeljs.io/docs/advanced/transformers/other/flow/
- yareally 11y agoFlow doesn't work on Windows though. However, Typescript works on Linux, OSX and Windows.
- WorldMaker 11y agoA key benefit to TypeScript over Flow is the very deep amount of IntelliSense and IDE support you get from it up front in your development process. It's very nice to have things like auto-completion and API documentation at your fingertips as you work. Also, TypeScript has a fairly strong transpilation engine and can be a one-stop shop for most of your transpilation needs (contrasting to also needing something Babel or Traceur in your build and/or runtime stack, for instance, because you can just transpile ES6-like TypeScript directly to ES5).