Better HN
topnewbestaskshowjobs
Log inSign up

hackjackback

6 karma · joined Nov 1, 2019 (7y ago) · 2 submissions

Submissions

comment 7y ago · link · parent

I mention Sapper above.

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.

comment 7y ago · link · parent

Fantastic.

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.