News for hackers. Stuff that matters.
Re:React v0.13.0 Beta 1 by xtrumanx on Wednesday January 28, 2015 @04:13AM (#8958859)
Well JSX is just compiled to JS so I guess you could have something that looks like HAML that substitutes the JSX code which in turn is compiled into JS.

Best place to start I guess would be to look into the JSX compiler to see how complicated that would be.

Re:React v0.13.0 Beta 1 by JonnieCache on Wednesday January 28, 2015 @04:27AM (#8958903)
Well if I can get the JSX compiler to give me a hook every time it finds an "html" block, and to let me replace it with my own content, then that would work fine I guess. Then it'd be a matter of getting JSX to recognise haml syntax as html.