3 ms·
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
by danmaz74 11y ago
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...
- habitue 11y agoApparently Zorium is what you're looking for
- danmaz74 11y agoThanks, 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.
- jessaustin 11y agoIf 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.html http://blog.vjeux.com/2013/javascript/react-coffeescript.htm...
- cpursley 11y agoCheck 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-tutorial.md#livescript-as-template-language https://github.com/redbadger/arch/blob/master/docs/02-basic-...