4 ms·
There's a beautiful symmetry between s-expressions and XML which is why it's not really all that annoying to work with once you approach it as an s-expression.
by mdtusz 7y ago
There's a beautiful symmetry between s-expressions and XML which is why it's not really all that annoying to work with once you approach it as an s-expression.
- wry_discontent 7y agoWorking with Clojurescript and Reagent (or Hiccup) has ruined JSX for me. It's so verbose and absurdly hard to work with relatively.
- postalrat 7y agoWhy is JSX so much more verbose? The end tags?
- wry_discontent 7y agoIt's primarily the end tags, yes, but there's also the className shorthand in reagent that's nice. [div.btn.blue.p-4 {:disabled true} "Button Text"]