Practical Svelte: Create Performant Applications with the Svelte Component Framework
- 4h 18m
- Alex Libby
- Apress
- 2021
Learn to leverage the power of Svelte to produce web applications that are efficient and fast. This project-oriented book simplifies creating sites using Svelte from start to finish, with little more than a text editor and familiar languages such as HTML, CSS, and JavaScript. It equips you with a starting toolset that you can use to develop future projects, incorporate into your existing workflow, and allow you to take your websites to the next level.
Practical Svelte is an excellent resource for getting acquainted with creating and manipulating websites or online applications using a component framework approach. It takes the view that we don’t have to create something complex and unwieldy. We can build something quickly, using less code than some of its competitors, and extend it using the power of the API and plugins over time, without sacrificing speed or features.
You will learn how to use the Svelte framework to rapidly create and deploy websites or online applications that are performant, with the minimum of fuss and using existing tools already available in the browser, get up to speed with individual features of the Svelte framework, and work through a series of small projects that will combine to produce a finished site at the end of the book – this to help consolidate skills from day one and create something that you can use as a basis for future projects.
What You Will Learn
- Understand why Svelte’s popularity makes it the go-to framework for constructing applications
- Learn how to scaffold and implement web sites or online applications using Svelte
- Create reusable components using Svelte that are interoperable with other frameworks and can solve real-world problems
- Perform automated testing and deployment using tools such as CI/CD testing
- Work through some mini projects from start to finish, understanding what we can achieve using Svelte and where we may need to bring other tools into play
In this Book
-
Getting Started
-
Creating Components
-
Managing State and Data
-
Controlling Logic
-
Managing Events
-
Binding Elements
-
Adding Styles
-
Unit Testing and Svelte
-
Deploying Svelte
-
Working with External Libraries
-
Animating Svelte
-
Adapting for Sapper