Hacker News new | ask | show | jobs
by hcarvalhoalves 4055 days ago
If you're using createElement you're doing it wrong.
2 comments

I am playing around with React and if you want to keep it JSscripty (being the only dev who actually likes JS) or you want to use coffee script then createElement isn't actually horrible to use.

Especially not if you make an alias to ce or something like that.

if you want the best of both worlds, i use cjsx (https://github.com/jsdf/coffee-react) for my react components e.g. https://github.com/Azerothian/reacta-test/blob/master/react/...
Exactly! It's shortest version of what I think about JSX.