Re:TypeScript and JSX
by omphalos on Sunday September 13, 2015 @01:06PM
(#10212001)
Yes and additionally (with Chrome's DevTools) you get out-of-the-box functionality like the ability to set a break point, live edit your code right at the breakpoint, and save your change right back to the filesystem. With transpiled languages this kind of workflow is generally less streamlined -- I don't know why more people don't complain about it. The best alternatives I've seen are when people completely reengineer the workflow - I'm thinking about the Elm debugger as an example.
[ Parent
| on HN ]
Thanks - I hadn't even thought about that aspect, but it's definitely a problem I would run into. As popular as React is though, I'd assume there is a browser extension or something to support the workflow.
Indeed there is: http://facebook.github.io/react/blog/2015/09/02/new-react-de...