coffee-react-transform
coffee-react-transform copied to clipboard
DEPRECATED – Provides React JSX support for Coffeescript
Example: http://jsdf.github.io/coffee-react-transform/?code=IyBAY2pzeCBSZWFjdC5ET00KCkNhciA9IFJlYWN0LmNyZWF0ZUNsYXNzCiAgcmVuZGVyOiAtPiAoCiAgCTxkaXYgYT1iIHsuLi5wYW5lUHJvcHMoYSwgYil9PkRhc2hib2FyZDwvZGl2PgoJKQ%3D%3D Remove the `, b` and the right side becomes valid coffeescript.
This code produces the aforementioned error: ``` coffeescript ... render: -> foobar ``` while this works: ``` coffeescript ... render: -> foo bar ``` Is this expected? Thanks.
I often have this problem: ``` cjsx render: -> ``` which will only return the last element due to the CoffeeScript nature. To fix this, I have to wrap everything...
I'd expect it to behave like the docs: https://facebook.github.io/react/docs/jsx-in-depth.html#namespaced-components
Is `coffee-react-transform` creating source maps?