@mattstuddert
Posted
Amazing work on this challenge, Connor! I love that you're using these challenges to experiment with new technologies. I've never even heard of Sapper! What's it like to work with? I know you've been using Svelte, so is this a fairly natural progression?
@zuolizhu
Posted
@mattstuddert Thinking about Sapper as the Svelte version of Next.js (Next.js is based on React).
Sapper is based on Svelte, once you know how to work with Svelte, then you know how to work with Sapper 😜.
Svelte is mainly focusing on the single page app, it is lack of pages routing. Sapper just filled the gap (it has file based page routing) with much more extra features (such as server side rendering).
The feeling of working with Sapper is kind like writing multiple html files, but you can import and export the header and footer plus some reusable components in a very straight forward way.
Plus Sapper has the static pages export option that I used in this project, which makes it super simple to host (e.g. Vercel 😆 just run Vercel in the export folder and you are good to go).
@mattstuddert
Posted
@zuolizhu gotcha! Thanks a lot for the comparison.
I’ll get round to playing with Svelte at some point and will take a look at Sapper when I do!