News for hackers. Stuff that matters.
Re:How we do Vue: one year later (2017) by airstrike on Monday March 18, 2019 @10:32PM (#19427580)
> rather than JSX's more sensible curly brackets

I'm still waiting for the 2019 equivalent of http://haml.info/

Re:How we do Vue: one year later (2017) by hombre_fatal on Tuesday March 19, 2019 @01:48AM (#19428399)
I think Pug is the closest thing to Haml with traction: https://pugjs.org/language/conditionals.html

Here's a Pug -> JSX transformation: https://github.com/pugjs/babel-plugin-transform-react-pug

Detouring from the most popular path tends to come at the price of tooling idiosyncrasies that are rarely worth it, but it seems to at least work with eslint-react and has syntax highlighting in some editors.

Re:How we do Vue: one year later (2017) by airstrike on Tuesday March 19, 2019 @10:49AM (#19431284)
Love it! Thanks for sharing
Re:How we do Vue: one year later (2017) by mateuszf on Tuesday March 19, 2019 @04:25AM (#19429000)
How about Hiccup?

Some examples here: https://reagent-project.github.io/

It's not haml, but I'd argue it's awesome.

Re:How we do Vue: one year later (2017) by airstrike on Tuesday March 19, 2019 @12:37PM (#19432478)
Thanks. Seems nifty but ClojureScript is a bit too foreign for me