3 ms·
I disagree. Abstract classes, generators, and built-in JSX support are definitely "sexy."
by ken47 11y ago
I disagree. Abstract classes, generators, and built-in JSX support are definitely "sexy."
- judah 11y agoGenerators are not in TS 1.6. JSX support is a big feature, albeit controversial and not for everyone. Notice Rob Eisenberg's first comment on the blog: "I do have one concern with this release. Back in the day, Anders was extremely adamant about not including XML in C#. At the time, XML was extremely popular, but today it is much less so. It was a wise decision. Today, I see a release that ties TypeScript to JSX, which seems to fly in the face of the previous language design principle. But furthermore, it is a long held principle that one should not embed JavaScript in HTML. So, why are we so quick to embed HTML in JavaScript? JSX has always seemed like a phenomenally bad idea and one that is certain to be short lived. Can you elaborate on the nature of the JSX integration? I'd like to know that it's not going to affect TS in the long-term. I'd also like to know what type of compiler output it produces. Does it produce React code? or does it produce some sort of string concatenation expression in the end? Did the TS compiler just get tied to the React library's implementation details?"