Open DylanPiercey opened 9 years ago
Looks like this is a regression, previously if you provided something like # @cjsx deku.dom
it would just work.
Is it possible to fix or is it an issue with the jsx transform?
It's a pretty simple fix, the correct value just needs to be output here: https://github.com/jsdf/coffee-react-transform/blob/master/src/serialiser.coffee#L105
Currently it's pretty easy to use something like https://github.com/dekujs/deku using coffee-react since you can do:
Which becomes:
However you will notice "React.spread" which is obviously not compatible. Is it possible to have @jsx also modify React.spread?