←back to thread

174 points tipiirai | 1 comments | | HN request time: 0.25s | source
Show context
veidelis ◴[] No.42735834[source]
Here we to with the "minimalistic stringy language" again.

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

replies(6): >>42736027 #>>42737524 #>>42740858 #>>42745364 #>>42747142 #>>42749879 #
1. ediatedia ◴[] No.42736027[source]
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.