Svelte and Sapper in Action

  • 5h 40m
  • R. Mark Volkmann
  • Manning Publications
  • 2020

Svelte and Sapper in Action teaches you to design and build fast, elegant web applications. You’ll start immediately by creating an engaging Travel Packing app as you learn to create Svelte components and develop great UX. You’ll master Svelte’s unique state management model, use Sapper for simplified page routing, and take on modern best practices like code splitting, offline support, and server-rendered views.

Summary

Imagine web apps with fast browser load times that also offer amazing developer productivity and require less code to create. That’s what Svelte and Sapper deliver! Svelte pushes a lot of the work a frontend framework would handle to the compile step, so your app components come out as tight, well-organized JavaScript modules. Sapper is a lightweight web framework that minimizes application size through server-rendering front pages and only loading the JavaScript you need. The end result is more efficient apps with great UX and simplified state management.

About the technology

Many web frameworks load hundreds of “just-in-case” code lines that clutter and slow your apps. Svelte, an innovative, developer-friendly tool, instead compiles applications to very small bundles for lightning-fast load times that do more with less code. Pairing Svelte with the Sapper framework adds features for flexible and simple page routing, server-side rendering, static site development, and more.

About the book

Svelte and Sapper in Action teaches you to design and build fast, elegant web applications. You’ll start immediately by creating an engaging Travel Packing app as you learn to create Svelte components and develop great UX. You’ll master Svelte’s unique state management model, use Sapper for simplified page routing, and take on modern best practices like code splitting, offline support, and server-rendered views.

What's inside

  • Creating Svelte components
  • Using stores for shared data
  • Configuring page routing
  • Debugging, testing, and deploying Svelte apps
  • Using Sapper for dynamic and static sites

About the reader

For web developers familiar with HTML, CSS, and JavaScript.

About the Author

Mark Volkmann is a partner at Object Computing, where he has provided software consulting and training since 1996.

In this Book

  • About This Book
  • Meet the Players
  • Your First Svelte App
  • Creating Components
  • Block Structures
  • Component Communication
  • Stores
  • DOM Interactions
  • Lifecycle Functions
  • Client-Side Routing
  • Animation
  • Debugging
  • Testing
  • Deploying
  • Advanced Svelte
  • Your First Sapper App
  • Sapper Applications
  • Sapper Server Routes
  • Exporting Static Sites with Sapper
  • Sapper Offline Support
  • Preprocessors
  • Svelte Native
SHOW MORE
FREE ACCESS

YOU MIGHT ALSO LIKE

Rating 4.6 of 3447 users Rating 4.6 of 3447 users (3447)
Rating 4.8 of 20 users Rating 4.8 of 20 users (20)
Rating 4.4 of 84 users Rating 4.4 of 84 users (84)