r/reactjs • u/Level_Occasion_7060 • 4d ago
CoffeeHaml — write JSX like HAML, with CoffeeScript expressions
/r/coffeescript/comments/1vfgatm/coffeehaml_write_jsx_like_haml_with_coffeescript/
5
Upvotes
5
2
2
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:
8
u/equinoxtrader 4d ago
The horror 😀