by hackjackback · 7y ago · 0 comments
But it needs a router. I'm using svelte-routing which works pretty well but even in a lightweight package like Svelte I think it's almost essential to provide basic routing as part of the package.
After all, stores are provided even though plenty of third-party store libraries exist.
The refreshing thing about Vue is that it includes a great router solution out of the box. The Vue team obviously realized it couldn't be considered an optional extra, just as stores aren't.
Yes, Sapper has routing, of a specific kind, but a developer shouldn't have to employ a framework like Sapper to get basic routing functionality.
Otherwise Svelte is killing it. Well done.
Sapper. A bit rudimentary but it dovetails nicely. Plus, built in export for static sites.
Sapper adds a great deal of additional functionality and a framework layout that Svelte on its own does not. All Svelte needs is its own router to be the complete package.