Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
spion
· 11y ago · 0 comments
IIRC JSX support is only implemented as parsing and type-checking. There is no JS generation. The output will contain the same JSX, which means you'll have to use a JSX compiler on it.
Comments
[–]
adidahiya
11y ago
The Typescript compiler can emit JS for use with React from JSX. This is a good blog post about it:
http://www.jbrantly.com/typescript-and-jsx/
[–]
interlocutor
11y ago
You can use jsxtyper to generate TypeScript interfaces:
https://github.com/fuselabs/jsxtyper