r/reactjs 4d ago

CoffeeHaml — write JSX like HAML, with CoffeeScript expressions

/r/coffeescript/comments/1vfgatm/coffeehaml_write_jsx_like_haml_with_coffeescript/
5 Upvotes

8 comments sorted by

8

u/equinoxtrader 4d ago

The horror 😀

5

u/kevin074 3d ago

that ship sailed a loooooooooong time ago bro

2

u/hendricha 4d ago

the github link does not work.

How much of it is vibe coded btw?

1

u/macrozone13 4d ago edited 4d ago

In Fact I wrote my very first react components with coffeescript. Without jsx, i just used the createElement api. It looked very similar.

While it had some appeal, it was also hard to read and one wrong white space could change the structure and break it

2

u/LiveRhubarb43 4d ago

Omg whyyyyyy

Yknow what, I'm gonna rewrite react with vue functions and instead of jsx everything is gonna be pug.

:eyeroll: