Earlier quoted context omitted.
Similarly, I'm looking for a way to use react with HAML. I just can't give it up, I have absolutely no interest in closing my tags ever again. One of the things I like about angular is how it deals with standard HTML. HAML doesn't care about its wacky attributes. Whats the best way to achieve this with react? Does the JSX compiler have hooks for preprocessing of any kind?
It wouldn't work with Typescript, but this is what my vanilla CoffeeScript React code looks like: div className: 'navbar-form' style: backgroundColor: "green" , div className: 'btn-group' , button type: 'button' className: 'btn btn-warning' onClick: @handleDecreaseWpmClick , span className: 'glyphicon glyphicon-chevron-down' span className: 'btn btn-default disabled' , "#{ @props.status.get('wpm') }" span className:…
div
className: 'navbar-form'
style:
backgroundColor: "green"
div
className: 'btn-group'
button
type: 'button'
className: 'btn btn-warning'
onClick: @handleDecreaseWpmClick
span
className: 'glyphicon glyphicon-chevron-down'
span
className: 'btn btn-default disabled'
"#{ @props.status.get('wpm') }"
span
className: 'hidden-xs'
" wpm"
button
type: 'button'
className: 'btn btn-warning'
onClick: @handleIncreaseWpmClick
span
className: 'glyphicon glyphicon-chevron-up'