Svelte and Sapper in Action
eBook - ePub

Svelte and Sapper in Action

  1. 456 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Svelte and Sapper in Action

About this 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. 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. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. 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. Table of Contents PART 1 - GETTING STARTED1 Meet the players2 Your first Svelte appPART 2 - DEEPER INTO SVELTE3 Creating components4 Block structures5 Component communication6 Stores7 DOM interactions8 Lifecycle functions9 Client-side routing10 Animation11 Debugging12 Testing13 Deploying14 Advanced SveltePART 3 - DEEPER INTO SAPPER15 Your first Sapper app16 Sapper applications17 Sapper server routes18 Exporting static sties with Sapper19 Sapper offline supportPART 4 - BEYOND SVELTE AND SAPPER20 Preprocessors21 Svelte Native

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Svelte and Sapper in Action by Mark Volkmann in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in JavaScript. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. Svelte and Sapper in Action
  2. Copyright
  3. brief contents
  4. contents
  5. front matter
  6. Part 1. Getting Started
  7. 1 Meet the players
  8. 2 Your first Svelte app
  9. Part 2. Deeper into Svelte
  10. 3 Creating components
  11. 4 Block structures
  12. 5 Component communication
  13. 6 Stores
  14. 7 DOM interactions
  15. 8 Lifecycle functions
  16. 9 Client-side routing
  17. 10 Animation
  18. 11 Debugging
  19. 12 Testing
  20. 13 Deploying
  21. 14 Advanced Svelte
  22. Part 3. Deeper into Sapper
  23. 15 Your first Sapper app
  24. 16 Sapper applications
  25. 17 Sapper server routes
  26. 18 Exporting static sites with Sapper
  27. 19 Sapper offline support
  28. Part 4. Beyond Svelte and Sapper
  29. 20 Preprocessors
  30. 21 Svelte Native
  31. appendixes
  32. appendix A. Resources
  33. appendix B. Calling REST services
  34. appendix C. MongoDB
  35. appendix D. ESLint for Svelte
  36. appendix E. Prettier for Svelte
  37. appendix F. VS Code
  38. appendix G. Snowpack
  39. index