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.
Re:Standards First Web Framework
by lelanthran on Friday January 17, 2025 @08:55AM
(#42737524)
> <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.
Re:Standards First Web Framework
by robertoandred on Friday January 17, 2025 @12:32PM
(#42740858)
Look at that standards-based code! Wow!
Re:Standards First Web Framework
by smrtinsert on Friday January 17, 2025 @09:49PM
(#42745364)
To be fair that's perfectly clear to me. Reminds me a bit of xslt but not in a bad way
Re:Standards First Web Framework
by createaccount99 on Saturday January 18, 2025 @04:48AM
(#42747142)
Sayonara editor integration.
Re:Standards First Web Framework
by sureglymop on Saturday January 18, 2025 @12:32PM
(#42749879)
Reminds me of the old angular template syntax.
<a :for="src, i in images" class="{ current: i == index }" @click="index = i"></a>