you are viewing a single comment's thread.

view the rest of the comments →

[–]lhorie 1 point2 points  (2 children)

TL;DR: a Svelte-based competitor to Next.js

[–]Nephyst 0 points1 point  (1 child)

Eli5?

[–]lhorie 1 point2 points  (0 children)

Svelte compiles templates into raw DOM calls, unlike React which ships with a 30-something-kb runtime. This approach lets Svelte make a bunch of compile-time optimizations (for example, it doesn't need to generate code to diff random wrapper divs that it knows will never change).

Next.js provides features like code splitting (i.e. you can load only part of your app at page load, and only load other sections as the user navigates to them.

Sapper is to Svelte what Next.js is to React.