coffee-react-transform icon indicating copy to clipboard operation
coffee-react-transform copied to clipboard

DEPRECATED – Provides React JSX support for Coffeescript

Results 25 coffee-react-transform issues
Sort by recently updated
recently updated
newest added

It turns out `coffee-react-transform` supports Iced CoffeeScript out of the box. This is rather convenient. I am posting this issue to request that maintaining compatibility with ICS (provided it does...

This style of object creation appears to break with coffee-react-transform: http://goo.gl/KY6t8C Noted this while using cjsx-loader, who's author delegated this issue here.

Without the comment, the following compiles and renders fine: ``` coffeescript x.IndexView = React.createClass displayName: "views.user.IndexView" render: () -> return ( Say Hello to React.js {# this is a comment...

### jsdf/coffee-react-transform now has a Chat Room on Gitter @jsdf has just created a chat room. You can visit it here: [https://gitter.im/jsdf/coffee-react-transform](https://gitter.im/jsdf/coffee-react-transform?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&content=body_link). This pull-request adds this badge to your README.md:...

[Try Coffee-React Link](https://jsdf.github.io/coffee-react-transform/?code=PGRpdiB7Li4uQHByb3BzLmZ1bmMoYSxiKX0gLz4%3D) This compiles properly: ``` ``` This does not (note the offending space between the `a,` and `b`): ``` ```

[Try Coffee-React link](https://jsdf.github.io/coffee-react-transform/?code=PEZvbwogIGNsYXNzTmFtZT0iRm9vIj4KCiAgPEJhcgogICAgY2xhc3NOYW1lPSJCYXIiPgoKICAgIHtleHByfQogIDwvQmFyPgo8L0Zvbz4%3D) If I have JSX that looks like: ``` {expr} ``` This gets compiled to: ``` React.createElement(Foo, { \ "className": "Foo"}, React.createElement(Bar, { \ "className": "Bar"}, (expr) )...

This is not a bug, but rather a plea to the community that we build a coffeelint rule to allow for CJSX. I hate the little red underlines in Sublime....

``` ``` outputs: ``` React.createElement("div", null, "\x3Cb\x3E") ``` rather than throwing an error that `` is unclosed. The JSX transformer throws an error: ``` Expected corresponding JSX closing tag for...

Currently it's pretty easy to use something like https://github.com/dekujs/deku using coffee-react since you can do: ``` coffeescript # @cjsx deku Car = React.createClass render: -> Which seat can I take?...

One of the trickiest things about writing CoffeeScript is that sometimes its syntax doesn’t compile into exactly the JS one thought it might. For this reason, the coffeescript.org “Try CoffeeScript”...