logoalt Hacker News

veidelis01/17/20256 repliesview on HN

Here we to with the "minimalistic stringy language" again.

<a :for="src, i in images" class="{ current: i == index }" @click="index = i"></a>


Replies

ediatedia01/17/2025

React has it's problems, but for me one of the most appealing things is doing away with this magic attribute sprinkling that is a maintenance nightmare and just going all in on JSX.

lelanthran01/17/2025

> <a :for="src, i in images" class="{ current: i == index }" @click="index = i"></a>

Seconded.

I gotta be honest: while I actually am sold on the principles in the rationale, I'm not so crazy about what the implementation looks like.

robertoandred01/17/2025

Look at that standards-based code! Wow!

smrtinsert01/18/2025

To be fair that's perfectly clear to me. Reminds me a bit of xslt but not in a bad way

sureglymop01/18/2025

Reminds me of the old angular template syntax.

createaccount9901/18/2025

Sayonara editor integration.