Closed felixakiragreen closed 9 years ago
Is there a reason you use coffee-react-transform to turn .cjsx into .coffee, and then do a second transform from .coffee into .js? As opposed to using something like coffee-react which does both together in one step?
AFAIK coffee-react is just a wrapper for coffee-react-transform and coffeescript. It doesn't expose any API to convert from .cjsx all the way to .js.
.cjsx
.js
Is there a reason you use coffee-react-transform to turn .cjsx into .coffee, and then do a second transform from .coffee into .js? As opposed to using something like coffee-react which does both together in one step?