introduction-svelte Svelte Themes

Introduction Svelte

A introduction into Svelte and SvelteKit

Introduction to Svelte and SvelteKit

Recommendations

Svelte vs. SvelteKit

Use Svelte if...

  • You don't need/want SSR (Server Side Rendering)
  • You want to render a component into an existing page
  • You want to output things like a vanilla component, a WebComponent or a React component adapter

Use SvelteKit if...

  • You're ok with Beta software and living on the bleeding edge
  • You want SSR like Next.js/Nuxt.js
  • You want to have a backend API as part of your project
  • You want your app to work in a Serverless environment (e.g. Vercel/Netlify)
  • You want super fast hot reloading in development (via Vite)

Scenarios

Still not sure what to use? Maybe these scenarios will help you decide:

  • "I'm building a brand new web app (with backend/API)": Use SvelteKit
  • "I want to build an SPA (Single Page App) and I have a pre-existing backend and don't need SSR": Use Svelte
  • "I want to use Svelte in an existing web app": Use Svelte
  • "I'm cautious of new things but want SSR/routing": Use SvelteKit

Hands-On

Svelte

SvelteKit

Svelte & SvelteKit Examples

GraphQL Server and AWS Intrastructure

Atomic Design

Top categories

Loading Svelte Themes