Real-World Svelte
eBook - ePub

Real-World Svelte

Supercharge your apps with Svelte 4 by mastering advanced web development concepts

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

Real-World Svelte

Supercharge your apps with Svelte 4 by mastering advanced web development concepts

About this book

Harness the power of Svelte, the cutting-edge JavaScript framework used for building high-performance web applications, with this definitive guide

Key Features

  • Create Svelte component lifecycles by styling and theming components as well as managing props and states
  • Leverage actions to build custom events, integrate libraries, and enhance UI elements progressively
  • Explore transitions, write custom transitions, and go through accessibility with transitions in Svelte
  • Purchase of the print or Kindle book includes a free PDF eBook

Book Description

Svelte has quickly become a popular choice among developers seeking to build fast, responsive, and efficient web applications that are high-performing, scalable, and visually stunning. This book goes beyond the basics to help you thoroughly explore the core concepts that make Svelte stand out among other frameworks.You'll begin by gaining a clear understanding of lifecycle functions, reusable hooks, and various styling options such as Tailwind CSS and CSS variables. Next, you'll find out how to effectively manage the state, props, and bindings and explore component patterns for better organization. You'll also discover how to create patterns using actions, demonstrate custom events, integrate vanilla JS UI libraries, and progressively enhance UI elements. As you advance, you'll delve into state management with context and stores, implement custom stores, handle complex data, and manage states effectively, along with creating renderless components for specialized functionalities and learning animations with tweened and spring stores. The concluding chapters will help you focus on enhancing UI elements with transitions while covering accessibility considerations.By the end of this book, you'll be equipped to unlock Svelte's full potential, build exceptional web applications, and deliver performant, responsive, and inclusive user experiences.

What you will learn

  • Master Svelte component development and write efficient Svelte code
  • Implement styling and theming techniques to create visually stunning UIs
  • Create reusable and composable Svelte components for better code organization
  • Understand state management with context and stores for scalable applications
  • Explore different use cases of Svelte stores and Svelte context
  • Utilize tweened and spring stores for complex animations and custom easing

Who this book is for

This book is for experienced web developers looking to enhance their skills and create high-performance web applications. Familiarity with JavaScript, frontend development, and basic Svelte concepts is recommended, making it ideal for professionals and developers who want to master Svelte's advanced features.

]]>

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.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. 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 Real-World Svelte by Tan Li Hau in PDF and/or ePUB format, as well as other popular books in Computer Science & Web Programming. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. Real-World Svelte
  2. Foreword
  3. Preface
  4. Part 1: Writing Svelte Components
  5. 1
  6. 2
  7. 3
  8. 4
  9. Part 2: Actions
  10. 5
  11. 6
  12. 7
  13. Part 3: Context and Stores
  14. 8
  15. 9
  16. 10
  17. 11
  18. 12
  19. Part 4: Transitions
  20. 13
  21. 14
  22. 15
  23. Index
  24. Other Books You May Enjoy