Sapper VS SvelteKit

Compare Sapper vs SvelteKit and see what are their differences.

Sapper

The next small thing in web development, powered by Svelte (by sveltejs)

SvelteKit

The fastest way to build Svelte apps (by sveltejs)
Our great sponsors
  • Syncfusion - Build stunning web applications quickly using Syncfusion JavaScript UI controls.
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • Scout APM - A developer's best friend. Try free for 14-days
Sapper SvelteKit
26 126
7,154 5,047
0.1% 11.3%
7.0 9.9
24 days ago 4 days ago
TypeScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Sapper

Posts with mentions or reviews of Sapper. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-07.
  • How I Redesigned My Website With SvelteKit
    dev.to | 2021-10-07
    So after using Sapper for some time, I decided to move my website to SvelteKit. I remember saying that I would not move to SvelteKit till they hit version 1 but the framework looks too promising. It had features which I needed and those features weren't in Sapper.
  • Journey to Svelte (through Gatsby)
    dev.to | 2021-09-22
    By that time, we had some troubles with virtual dom itself in our custom rich text editor that we based on slate - it was getting a bit laggy when creating huge financial documents (they usually have enormous tables and a lot of infographics) -so we were already thinking about other options and that’s where svelte comes into the light - especially sapper which was de facto default framework to be used with svelte at that time (SvelteKit wasn’t even announced).
  • Deploying Sapper application to Deta.sh
    dev.to | 2021-09-03
    Sapper is a framework for building web applications of all sizes, with a beautiful development experience and flexible filesystem-based routing. It is the predecessor of Sveltekit.
  • Conheça o que são as siglas CSR, SSR e SSG
    dev.to | 2021-08-27
    Sapper - ecossistema Svelte
  • I'm building a web app that aims to combine features from CodePen, Reddit, Medium, Dev.to, and Stack Overflow
    reddit.com/r/webdev | 2021-07-10
    Lol I won’t, and to answer your question, it’s built using sapper: https://sapper.svelte.dev
  • Sveltekit - to use or not to use?
    reddit.com/r/sveltejs | 2021-07-09
    I maintain a Svelte Starter Kit and all I had to do between several updates is change the layout file names, simplify the hooks, and convert the config file extensions. If you're learning Svelte in 2021, you shouldn't miss learning it, as it's "the missing CLI" and the svelte team's favoured project structure, to build full-stack server rendered and static sites, with File/Folder based routing, focus on server-less with adapters, API routes, and good baked-in conventions and constructs to support common web app needs. It's a successor to Sapper which served the aforementioned needs, with exception of adapters, which is special/unique(with no officially provided parallels in Next.js/Nuxt ecosystems yet) way to make vendor-agnostic, server-less first deployment concern a seamlessly integrated part of the framework.
  • Javascript's import vs require?
    dev.to | 2021-05-28
    Since Node v12, ES modules has been enabled by default. Hence my use of '.mjs' to run my file including a node module. Another way to resolve this issue is to use import with Node.js, you have to edit the package.json to 'type':'module'. However, using this caused my Sapper server to crash since it wasn't supported, as the rollup file outputs the format to commonjs Explained in (this GitHub issue).
  • planning to learn svelte for front-end, need advice
    reddit.com/r/sveltejs | 2021-05-23
    I am not sure whether or not they help you, but both svelte.dev and sapper.svelte.dev are open source. both of those projects are built on sapper, not svelte-kit, but a quick look at kit.svelte.dev/migrating should be enough to see what changed. (both of those make heavy use of markdown files so I don't know how helpful they are, also if you need help translating something from sapper to svelte-kit just reply and I'll probably be able to help)
  • Difference between SSR, SSG, CSR and SPA
    reddit.com/r/nextjs | 2021-04-11
    SSR (Server Side Rendering): the process of receiving a request from the client, e.g: a user goes to https://example.com to load the homepage, and returning a rendered version of the webpage with all the needed info and data to load it as fast as possible. Examples of this are [NextJS](https://nextjs.org), [NuxtJS](https://nuxtjs.org/), [Angular Universal](https://angular.io/guide/universal), [SvelteKit](https://kit.svelte.dev/) (currently in Beta) and [Sapper](https://sapper.svelte.dev/) (currently going deprecated);
  • Getting my SvelteKit website on Netlify
    dev.to | 2021-04-10
    But wait a minute? The local version is not working anymore? Apparently, Vite, the local build tool, did not like it when I moved the packages. After trying several things, I gave up. As SvelteKit is still in beta, community resources are scarce. I did found a few Sapper examples, the predecessor of SvelteKit, using the adapter-static. Success! Well... kind of.

SvelteKit

Posts with mentions or reviews of SvelteKit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-24.
  • Using Gitpod to create a PR
    dev.to | 2021-10-24
    Here's how I created a PR for the Gitpod website in just a few minutes. This website was built using Sveltekit to generate static pages hosted by Netlify.
  • SvelteKit: The fastest way to build Svelte apps
    news.ycombinator.com | 2021-10-21
  • SvelteKit just reached 5000 stars on GitHub! 🏆 🥳
    reddit.com/r/sveltejs | 2021-10-21
  • What if someone made a better svelte? Would people be interested?
    reddit.com/r/sveltejs | 2021-10-20
    element in src/app.html target: "#svelte", // ssr: false, files: { hooks: "./src/hooks/index.coffee" }, vite: { // after upgrading to kit next.180 // https://github.com/sveltejs/kit/issues/2277 // preprocess wasn't working for coffeescript files optimizeDeps: { entries: [], }, plugins: [ coffee(), resolve({ browser: true , preferBuiltins: true , dedupe: importee => importee === "svelte" || importee.startsWith("svelte/"), extensions: [".js"] }) , commonjs( {extensions: ['.js','.coffee']} ) ] } } }; export default config; ``` Some recent quirks broke the coffeescript preprocessing (see comments in vite attribute above) that required a workaround. Change your
  • I like Svelte but...!
    dev.to | 2021-10-18
    I decided to play with SvelteKit source and see what's up... My hours of time were wasted because of the poor documentation. I created a PR and explained very well, step by step to how to set up Svelte to develop it. Literally, some people came and said (Ah I don't understand it, the old version was better). You can be the judge. Then a maintainer came and applied his own version. Yes, the old version became better but it's not the same. I was the one having the problem, not a monster senior developer.
  • What do I gain by using SvelteKit over just Svelte?
    reddit.com/r/sveltejs | 2021-10-14
    You can with the static adapter https://github.com/sveltejs/kit/tree/master/packages/adapter-static .
  • Custom modes when building in SvelteKit
    reddit.com/r/sveltejs | 2021-10-14
    And then follow this workaround to provide the mode to Vite in the absence of svelte-kit having it in the CI.
  • Rakkas: Next.js alternative powered by Vite
    dev.to | 2021-10-14
    Rakkas is a MIT-licensed React framework similar to Next.js, it's not a clone. In fact, if you're familiar with Svelte -a user interface framework (like React or Vue)- many of Rakkas's features are inspired by SvelteKit, Svelte's web application building tool.
  • How I Redesigned My Website With SvelteKit
    dev.to | 2021-10-07
    So after using Sapper for some time, I decided to move my website to SvelteKit. I remember saying that I would not move to SvelteKit till they hit version 1 but the framework looks too promising. It had features which I needed and those features weren't in Sapper.
  • Testing aliases with SvelteKit
    reddit.com/r/sveltejs | 2021-10-04
    You can see all the discussion regarding that at https://github.com/sveltejs/kit/issues/19.

What are some alternatives?

When comparing Sapper and SvelteKit you can also consider the following projects:

Next.js - The React Framework

Nuxt.js - The Intuitive Vue Framework

vite - Next generation frontend tooling. It's fast!

Svelte - Cybernetically enhanced web apps

elderjs - Elder.js is an opinionated static site generator and web framework for Svelte built with SEO in mind.

hotwire-rails - Use Hotwire in your Ruby on Rails app

React - A declarative, efficient, and flexible JavaScript library for building user interfaces.

Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.

solid - A declarative, efficient, and flexible JavaScript library for building user interfaces.

svelte-routify-windi-vite - Svelte Starter template with Routify file-based router, WindiCSS Tailwind compiler and Vite

svelte-electron-template - Svelte+Electron+Storybook project template with live reload

sveltekit-graphql-github - Use Apollo Client with SvelteKit to Query a GraphQL API: we use the GitHub API to query our repos and learn a bit of SvelteKit along the way.