Svelte: A Beginner’s Guide
- Length: 91 pages
- Edition: 1
- Language: English
- Publisher: SitePoint
- Publication Date: 2022-02-10
- ISBN-10: B09SBYHRQ8
- Sales Rank: #0 (See Top 100 Books)
Svelte is a relatively new JavaScript frontend framework for developing websites and web apps.
The praise that Svelte has received over the last two years is testament to it not being “just another frontend framework”. It won “breakthrough of the year” on the State of JS survey 2019, followed by topping the satisfaction rating in 2020. It was also voted the most loved web framework in the Stack Overflow 2021 survey.
Svelte appeals to developers with its combination of a small bundle size, very good performance, and ease of use. At the same time, it comes packed with a lot of goodies. A simple state management solution to build upon is already provided, as well as ready-to-use transitions and animations. This book will start by shedding light on how Svelte achieves this, and then we’ll look at how to implement applications with Svelte using the various possibilities Svelte provides.
Svelte: A Beginner's Guide Notice of Rights Notice of Liability Trademark Notice About SitePoint About the Author Preface Who Should Read This Book? Conventions Used Code Samples Tips, Notes, and Warnings Supplementary Materials Chapter 1: Getting Started with Svelte The Svelte Backstory Building a Simple Book List Reacting to User Input Finishing Touches Architectural Considerations Ready, Set … Svelte? Chapter 2: Template Syntax Control Flow Syntax Adding New To-dos Using Events and Bindings Wrapping Up Chapter 3: Reactive Statements Reactive Declarations Reactive Statements Order of Execution Reactive Statements Are Run Once Wrapping Up Chapter 4: Stores A First Attempt Introducing Writable Stores Readable Stores Derived Stores Wrapping Up Chapter 5: Component Interaction Concepts Using Other Components Passing Stuff to Components through Properties Reacting to Component Events Composing the UI with Slots Using the Module Script to Manage Instances of the Same Component Using Context to Provide State to Component Trees Wrapping Up Chapter 6: Testing Applications The Testing Pyramid Test Setup Writing Your First Test Writing your First E2E Test Wrapping Up
Donate to keep this site alive
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.