coffee-react-transform
coffee-react-transform copied to clipboard
Class won't compile if code is wrapped in curly braces
When I'm writing a custom component, I simply cannot use curly braces/brackets to evaluate an expression.
The following code won't compile/transform:
App = React.createClass
render: ->
{@props.children}
CoffeeLint and CJSX itself throw the following error:
[stdin]:6:12: error: unexpected . at line 6 col 5