There's a lot of hot takes out there about how “superior” Svelte is to react. Maybe it is, but if you’re interested in fast coding, use React.
It’s not popular enough
80% vs 20%…pretty big.
Who cares about other people, we can pick who’s on our project and what languages they use, right?
We do, because we want to use their libraries and packages without having to roll it ourselves. This is why Python won out over ruby, LISP, haskell, and Perl. Better libraries.
Example: We want to use heroicons. They’re prebuilt and slick. Now we want components for them. In svelte, we’d have to roll them myself. Manage all my files, create new ones for each icon, maybe start maintaining an npm package, and slowing down my valuable projects because of the maintenance burden.
With react, there’s enough mindshare that there’s an already maintained, fast to use, react package.
npm install @heroicons/react
import { B…