Book description
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.Table of contents
- Svelte and Sapper in Action
- Copyright
- brief contents
- contents
- front matter
- Part 1. Getting Started
- 1 Meet the players
- 2 Your first Svelte app
- Part 2. Deeper into Svelte
-
3 Creating components
- 3.1 Content of .svelte files
- 3.2 Component markup
- 3.3 Component names
- 3.4 Component styles
- 3.5 CSS specificity
- 3.6 Scoped vs. global styles
- 3.7 Using CSS preprocessors
- 3.8 Component logic
- 3.9 Component state
- 3.10 Reactive statements
- 3.11 Module context
- 3.12 Building a custom component
- 3.13 Building the Travel Packing app
- Summary
- 4 Block structures
- 5 Component communication
- 6 Stores
- 7 DOM interactions
- 8 Lifecycle functions
- 9 Client-side routing
-
10 Animation
- 10.1 Easing functions
- 10.2 The svelte/animate package
- 10.3 The svelte/motion package
- 10.4 The svelte/transition package
- 10.5 The fade transition and flip animation
- 10.6 The crossfade transition
- 10.7 The draw transition
- 10.8 Custom transitions
- 10.9 The transition vs. in and out props
- 10.10 Transition events
- 10.11 Building the Travel Packing app
- Summary
- 11 Debugging
- 12 Testing
- 13 Deploying
- 14 Advanced Svelte
- Part 3. Deeper into Sapper
- 15 Your first Sapper app
- 16 Sapper applications
- 17 Sapper server routes
- 18 Exporting static sites with Sapper
- 19 Sapper offline support
- Part 4. Beyond Svelte and Sapper
- 20 Preprocessors
- 21 Svelte Native
- appendixes
-
appendix A. Resources
- A.1 Svelte presentations
- A.2 Svelte resources
- A.3 Framework comparisons
- A.4 Sapper resources
- A.5 Svelte Native resources
- A.6 Svelte GL resources
- A.7 Svelte tools
- A.8 Svelte libraries
- A.9 VS Code resources
- A.10 Learning resources not specific to Svelte
- A.11 Tools not specific to Svelte
- A.12 Libraries not specific to Svelte
- A.13 Assets not specific to Svelte
- appendix B. Calling REST services
- appendix C. MongoDB
- appendix D. ESLint for Svelte
- appendix E. Prettier for Svelte
- appendix F. VS Code
- appendix G. Snowpack
- index
Product information
- Title: Svelte and Sapper in Action
- Author(s):
- Release date: September 2020
- Publisher(s): Manning Publications
- ISBN: 9781617297946
You might also like
book
Flow Architectures
Software development today is embracing events and streaming data, which optimizes not only how technology interacts …
book
Tidy First?
Messy code is a nuisance. "Tidying" code, to make it more readable, requires breaking it up …
book
Deciphering Data Architectures
Data fabric, data lakehouse, and data mesh have recently appeared as viable alternatives to the modern …
book
Fluent React
When it comes to building user interfaces on the web, React enables web developers to unlock …