News for hackers. Stuff that matters.
Re:Announcing TypeScript 1.8 Beta by VeilEm on Thursday January 28, 2016 @05:41PM (#10992037)
> While React has paved the way, JSX syntax is not only tied to React.

Does TypeScript manage the lifecycles of elements you create through their version of JSX? React creates an in memory version of the DOM and reconciles changes to the DOM against this. Is TypeScript doing this too or is this simply template syntax inside JavaScript? What React does is not simply template syntax. HTML and JSX are totally different things! JSX renders to HTML eventually, but there's way more going on.

Re:Announcing TypeScript 1.8 Beta by saidajigumi on Thursday January 28, 2016 @05:55PM (#10992134)
According to https://github.com/Microsoft/TypeScript/wiki/JSX, there are two JSX processing options. The first is a JSX passthru ("preserve" mode) and the second ("react" mode) will generate React.createElement, etc. See that page for the technical details.

As such, preserve mode is intended for use with other backends, e.g. those listed under Transpilers at https://facebook.github.io/jsx/. Whichever non-React backend you choose therefore defines the JSX runtime handling rather than having that baked into TypeScript.

Re:Announcing TypeScript 1.8 Beta by orf on Thursday January 28, 2016 @06:01PM (#10992184)
I think you're misunderstanding the feature, see here for more info: https://github.com/Microsoft/TypeScript/wiki/What's-new-in-T...
Re:Announcing TypeScript 1.8 Beta by Guillaume86 on Thursday January 28, 2016 @06:57PM (#10992514)
You're mixing up React and JSX. Typescript do not replace React, it just allows JSX syntax and transforms it to javascript for you if you want.
Re:Announcing TypeScript 1.8 Beta by WorldMaker on Friday January 29, 2016 @11:22AM (#10996086)
Also, Typescript type checks the JSX. This was the big thing that convinced me to start using TSX was typed views. (I've not been using React, so I've been using preserve behavior and Babel to feed the Virtual DOM library I am using.)