News for hackers. Stuff that matters.
Re:Announcing TypeScript 1.5 by euroclydon on Monday July 20, 2015 @12:01PM (#9916928)
I just started a new project. We were using TypeScript for some important client side communication libraries which had no UI. This new project has a lot of UI. I chose Babel since it has built-in support for JSX -- that seemed like a bigger win than type safety.
Re:Announcing TypeScript 1.5 by tinganho on Monday July 20, 2015 @12:15PM (#9917043)
TypeScript also have JSX support. It's in master right now.
Re:Announcing TypeScript 1.5 by Ciantic on Monday July 20, 2015 @12:40PM (#9917209)
And you can use it today with unofficial "Not" TypeScript https://github.com/TypeStrong/ntypescript or simply using atom-typescript extension for Atom which has it installed.
Re:Announcing TypeScript 1.5 by euroclydon on Monday July 20, 2015 @12:44PM (#9917234)
Thanks...

I found the closed issue:

https://github.com/Microsoft/TypeScript/issues/3203

And some docs from the contributor's branch:

https://github.com/RyanCavanaugh/jsx-intro

Nothing yet mentioned in the master's markdown. Do you know when the next TypeScript release is planned for which will include this?

Re:Announcing TypeScript 1.5 by jbrantly on Monday July 20, 2015 @12:53PM (#9917286)
TypeScript 1.6 will have this. Unknown release date but there is this: https://twitter.com/jntrnr/status/620607598903996417
Re:Announcing TypeScript 1.5 by rpwverheij on Monday July 20, 2015 @01:34PM (#9917618)
oh man, this makes me so happy. Two projects I really really enjoy are finally coming together without any hacks. I knew it could only be a matter of time - and I had it working with a little React.jsx(`<component />`) hack, but still, having the TS team implement it natively just makes it feel right. thanks to everyone involved! ... Can't wait till webstorm will fully support this with component property intellisense and everything. woot!
Re:Announcing TypeScript 1.5 by merpnderp on Monday July 20, 2015 @12:28PM (#9917129)
You just made my day with this!!!
Re:Announcing TypeScript 1.5 by freeqaz on Monday July 20, 2015 @05:16PM (#9919148)
I like to use r-dom to get around JSX. I feel like, with JSX, I tend to copy-paste code or not refactor something into it's own method. With r-dom, it forces you to realize you're writing Javascript (not HTML) and try to write DRY code.

https://www.npmjs.com/package/r-dom

Re:Announcing TypeScript 1.5 by smrtinsert on Monday July 20, 2015 @12:37PM (#9917190)
I was using babel, but the compiler seems to crash every chance it gets. It should be able to handle simple editing without anywhere near a crash.