Comment by veidelis

Comment by veidelis a day ago

4 replies

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

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

ediatedia 21 hours ago

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.

lelanthran 18 hours ago

> <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.

smrtinsert 5 hours ago

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