Skip to Content
Svelte and Sapper in Action
book

Svelte and Sapper in Action

by Mark Volkmann
September 2020
Beginner to intermediate
456 pages
11h 4m
English
Manning Publications

Overview

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.

Quotes
This is a great book—very thorough! I highly recommend it for anyone looking to learn Svelte and Sapper or just looking for alternatives to React and Vue.
- Robert Walsh, Excalibur Solutions

This is the book on Svelte and Sapper. This book will give you expert knowledge on how to write efficient web apps that your users will love.
- Gustavo Filipe Ramos Gomes, Brightcove

Finding a book about Svelte is still rare, as it is such a new technology, but this one is a real gem. It is useful for both beginners and advanced users.
- Sander Zegveld, Developers.nl

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Svelte.js 3 and Sapper Projects

Svelte.js 3 and Sapper Projects

Germán Mené Santa Olaya
Single Page Web Applications

Single Page Web Applications

Josh Powell, Michael Mikowski
Svelte 3 Up and Running

Svelte 3 Up and Running

Alessandro Segala

Publisher Resources

ISBN: 9781617297946Publisher SupportPublisher Website