News for hackers. Stuff that matters.
Re:Flow and TypeScript by spraak on Wednesday September 13, 2017 @12:42AM (#15235608)
Yeah, the impression that I get is that TS has won as well. Initially it really offered a lot more than Flow, e.g. things like Definitely Typed, and I think that's become a feedback loop (i.e. more people are interested in TS because it already has a bigger community and more to offer, and thus it has as bigger community and more to offer...)
Re:Flow and TypeScript by Semaphor on Wednesday September 13, 2017 @12:46AM (#15235623)
It probably didn't help that it took a long time for flow to be usable on windows.
Re:Flow and TypeScript by addicted on Wednesday September 13, 2017 @12:49AM (#15235632)
I'm sure the fact that flow is considered more tired to react while typescript is considered more agnostic helps as well (I've not explored flow so I don't know whether it is tied to react or not but I do think that's the impression).
Re:Flow and TypeScript by ng12 on Wednesday September 13, 2017 @01:15AM (#15235732)
I don't think Flow is tied to React at all, except that the default create-react-app includes it as an option.
Re:Flow and TypeScript by joneil on Wednesday September 13, 2017 @01:41AM (#15235846)
It does have built in type definitions for React, where as all other libraries you probably need to use flow-typed (similar to definitely-typed in TypeScript).

So it does kind of have React integration, but it's pretty loose - you can use it with any other framework, and there's nothing obviously React-specific about the language.

Edit: See https://flow.org/en/docs/react/types/

Re:Flow and TypeScript by baxuz on Wednesday September 13, 2017 @10:59AM (#15238887)
It's very tied to the react / facebook ecosystem.

Nuclide for atom was the official release by facebook for supporting flow + react, and now you have Atom-IDE which is optimized for react + immutable.js + flow.

Plus the facebook guys are avoiding VScode like the plague and focusing entirely on Atom. Which now also comes with the BSD+ licence.

Re:Flow and TypeScript by chillee on Wednesday September 13, 2017 @04:32PM (#15242305)
"Plus the facebook guys are avoiding VScode like the plague" Not true.