Show Notes
In this Hasty Treat, Scott and Wes talk about SvelteKit β what it is and why you might want to use it.
Sanity - SponsorSanity.ioΒ is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes atΒ sanity.io/create. Get an awesome supercharged free developer plan onΒ sanity.io/syntax.
LogRocket - SponsorLogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. Itβs an exception tracker, a session re-player and a performance monitor. Get 14 days free atΒ logrocket.com/syntax.
Show Notes03:28 - What is it?
- Total platform for buildingΒ Svelte apps
- Built inΒ Vite.js
- Includes all of the Vite goodness but it hides behind the scenes for the most part
- Host anywhere
05:16 - Is it CSR, SSR, SSG, WTF?!
- All of the above. Uses adapters to control the output:
09:45 - What you get out of the box
- File-based routing
- API routes
- Layouts and layout resets
- Fancy file titles [slug] __layout
- Code splitting & preloading
- PostCSS
- TypeScriptΒ support
17:03 - Neat small things
- Glob import
- https://github.com/svelte-add/svelte-add
- Scottβs Instagram
- LevelUpTutorials Instagram
- Wesβ Instagram
- Wesβ Twitter
- Wesβ Facebook
- Scottβs Twitter
- Make sure to includeΒ @SyntaxFMΒ in your tweets
