Whats the state on coffeescript+jsx these days? I had a horrible time getting it transpile correctly (with gulp) about a year ago.
{div, a} = React.DOM
...
render: ->
(div {},
(a {href: 'foo'}, 'bar')
)
The only downside is having to extract the tags from React.DOM. MyComponent = React.createFactory require './my-component'
then you can do render: ->
(div {},
(MyComponent {})
)I haven't had any issues without the parens, but then again I've only just fooled around.
You probably know better.