Josh Collingsworth is clearly a big fan of Svelte, so while this is a fun and useful comparison article, it’s here to crown Svelte the winner all the way through.
A few things I find compelling:
Svelte is reactive by default. This means when a variable is reassigned, every place it’s used or referenced also updates automatically. (React and Vue both require you to explicitly initialize reactive variables.)
I do find the component format nice to look at, like how you just write HTML. You don’t even need a
<template> around it, or to
return anything. I imagine Astro took inspiration from this in how you can also just chuck a
P.S. I really like Josh’s header/footer random square motif so I tried to reverse engineer it: