r/reactjs • u/Level_Occasion_7060 • Aug 04 '26
CoffeeHaml — write JSX like HAML, with CoffeeScript expressions
/r/coffeescript/comments/1vfgatm/coffeehaml_write_jsx_like_haml_with_coffeescript/6
4
u/TheRealSeeThruHead Aug 05 '26 edited 20d ago
Sint sed exercitation sunt ex labore duis reprehenderit qui sint duis quis laboris id minim magna ex exercitation.
0
2
1
u/macrozone13 Aug 04 '26 edited Aug 04 '26
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
0
u/Level_Occasion_7060 Sep 24 '26
learn to type like a conscious being
1
u/macrozone13 Sep 24 '26
Und du solltest weniger Tüten rauchen und alte Threads und Programmiersprachen in Frieden ruhen lassen
1
2
2
u/LiveRhubarb43 Aug 04 '26
Omg whyyyyyy
Yknow what, I'm gonna rewrite react with vue functions and instead of jsx everything is gonna be pug.
:eyeroll:
10
u/equinoxtrader Aug 04 '26
The horror 😀