4 ms·
Here we to with the "minimalistic stringy language" again. <a :for="src, i in images" class="{ current: i == index }" @click="index = i"></a>
by veidelis 2y ago
Here we to with the "minimalistic stringy language" again.
<a :for="src, i in images" class="{ current: i == index }" @click="index = i"></a>
- ediatedia 2y agoReact 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 2y 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.
- robertoandred 2y agoLook at that standards-based code! Wow!
- smrtinsert 2y agoTo be fair that's perfectly clear to me. Reminds me a bit of xslt but not in a bad way
- createaccount99 2y agoSayonara editor integration.
- sureglymop 2y agoReminds me of the old angular template syntax.