News for hackers. Stuff that matters.
Re:What's New in Create React App by davedx on Friday May 19, 2017 @02:32AM (#14373419)
Where are they pushing flow in create-react-app?
Re:What's New in Create React App by oyvey on Friday May 19, 2017 @03:42AM (#14373642)
https://github.com/facebookincubator/create-react-app/blob/m...

They are supporting flow but not TS.

Maybe writing "push" was a bit of an over statement from my side but for how well typescript plays with react and JSX and how much more popular it is compared to flow it should be either supported by them or flow shouldn't be. Currently they are discriminating in favor of flow. Which I mean they have 100% the right to do, its their product but as an end user I simply want to express my desire in that feature being first class.

Re:What's New in Create React App by danabramov on Friday May 19, 2017 @06:51AM (#14374384)
The reality is not that we don’t want to support TS, but that its pipeline is significantly different from what we use at FB, so we neither have the expertise, nor can integrate the other tools we rely on. This might get better as AST interop between tooling improves.
Re:What's New in Create React App by hzoo on Friday May 19, 2017 @08:27AM (#14374913)
Yep, and we (Babel) are trying to work with TS on integrating it into Babel similar to how flow works with Babel (parser support + a plugin/preset to strip types). Again, limited resources so if the community really wants it, we would appreciate help in reviewing PRs and testing!

https://github.com/babel/babylon/issues/320, https://github.com/babel/babylon/issues/523

Re:What's New in Create React App by Vinnl on Friday May 19, 2017 @10:47AM (#14376133)
That's awesome, I didn't even know that was a potentially viable route! Thanks for sharing :)
Re:What's New in Create React App by hzoo on Friday May 19, 2017 @03:57PM (#14378882)
Yeah it's definetely a lot of work on both ends (also means would need to coordinate releases of both like we do with flow) but hopefully this helps the ecosystem that wants to use both (seems to be an increasingly higher number of people).