Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Nice comparison. Didn't anybody think of implementing a react-like framework in CoffeeScript? There is a coffee-react library tool, but I feel like the ideas of react implemented natively for CoffeeScript would be a match made in heaven...


If you don't insist on JSX, which you don't need, then just use react itself directly in coffeescript, and you won't be able to tell the difference without looking really close. The "canonical" description of this is at [0], but that page is kind of "old". I haven't found value in wrapping everything in parentheses like he recommends. Also that code is using renderComponent() which nowadays should be replaced by some combination of createClass(), createFactory(), and render().

[0] http://blog.vjeux.com/2013/javascript/react-coffeescript.htm...


Check out Arch. It uses LiveScript, which is an indirect descendant of CoffeeScript, but with a focus on functional programming.

https://github.com/redbadger/arch/blob/master/docs/02-basic-...


Apparently Zorium is what you're looking for


Thanks, interesting. At a first glance, compared to react, this isn't self-contained as it requires (or simply suggests?) RxJS, but I'll give it a deeper look as soon as I can.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: