Syntax - Tasty Web Development Treats

Scott Teaches Wes Svelte and Sapper

May 20, 2020
Dive into the world of Svelte and Sapper as Scott introduces Wes to their innovative features! Learn how Svelte compiles down to efficient code, easing the development process. Discover the unique reactivity model that simplifies state management and component styling. The duo also explores Sapper's strengths in server-side rendering and routing. Plus, stay tuned for clever tech picks and insights on outdoor solar lighting and lawn care that add a fun twist to the tech talk!
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Svelte's Core Value Proposition

  • Svelte compiles away framework code, resulting in smaller bundle sizes.
  • This allows for built-in tools without bloat, increasing performance.
INSIGHT

Svelte Compilation

  • Svelte compiles to vanilla JavaScript, unlike React which ships the framework.
  • This results in significantly smaller bundles, improving website performance.
ADVICE

Svelte File Structure

  • Use .svelte files for components, containing script, style, and HTML.
  • Access variables directly in templates like Vue.js, simplifying development.
Get the Snipd Podcast app to discover more snips from this episode
Get the app