the declarative iteration {#each tasks as task} was really heavy on my brain, I don't see why reverse the order of all major known iteration in the modern frameworks... .map/.forEach/for in React use plain JS, ng-for in Angular, v-for in Vue, all use keyword - item - list order.
I would have expected the same thing in Svelte as I agree, the cognitive load does not bring any advantage.
Anyway, really interesting technology that is worth monitoring in the next year :)
Senior Software Engineer at Google working on Google Meet 👨💻 Helping developers be more awesome 🔥 author, speaker & nerd 🧙🏼♂️ into JavaScript, TypeScript, Vim & pixelart ❤️
the declarative iteration {#each tasks as task} was really heavy on my brain, I don't see why reverse the order of all major known iteration in the modern frameworks... .map/.forEach/for in React use plain JS, ng-for in Angular, v-for in Vue, all use keyword - item - list order.
I would have expected the same thing in Svelte as I agree, the cognitive load does not bring any advantage.
Anyway, really interesting technology that is worth monitoring in the next year :)
I know! :D I had the same feeling.
Definitely!