Video description
If you want to build reactive user interfaces that load quickly and run fast, Svelte.js is a tool you shouldn't overlook! Svelte.js (or just "Svelte") is a modern JavaScript compiler that allows you to write and compile efficient and easy-to-understand JavaScript code that runs in the browser. In this course, you’ll learn how to write a frontend application using JavaScript, following the rules laid out by Svelte. The Svelte compiler will then produce a small and highly optimized JavaScript bundle which can be easily deployed. This course covers all about Svelte, helping you understand how it works, what its core features are, and how to run your final app on a real server! Svelte.js is a great alternative to JavaScript frameworks and libraries such as React.js, Angular, or Vue for building highly reactive, modern user interfaces for the web. Moreover, it enables you to build your web projects with less code and helps build faster apps!
What You Will Learn
- Understand Svelte and why you must you use it
- Grasp the core features and base syntax of Svelte
- Render conditional and list content
- Write reactive and fast web applications
- Get to grips with using components - pass data around and create reusable building blocks
- Efficiently manage data in your application with Svelte stores
- Reach out to a backend server and send and fetch data
- Pre-render your app on a server and improve SEO
Audience
This course is for anyone interested in writing high-performance frontend applications with Svelte. You don’t need advanced JavaScript knowledge to get started, but a solid understanding of its basics is expected. If you already know modern JavaScript frameworks and are looking for a lightweight, production-ready alternative, you’ll find this course useful.
About The Author
Maximilian Schwarzmüller: Maximilian Schwarzmüller: A professional web developer and instructor, he has never stopped learning new programming skills and languages since the age of 13. In his early days, he started creating websites simply for fun. This passion has remained and shaped his decision to work as a freelance web developer and consultant. Although he started web development on the backend (PHP with Laravel and NodeJS), he has progressed to becoming a front-end developer using modern frameworks such as React, Angular, and VueJS 2 in many projects.
The most rewarding experience for him is to see how people find new and better jobs, build exciting web applications, acquire amazing projects, or simply enjoy their hobby with the help of his content.
Table of contents
- Chapter 1 : Getting Started
-
Chapter 2 : Base Syntax Core Features
- Module Introduction
- Using Curly Braces Understanding the Core Syntax
- Reactive Variables
- More Reactivity
- Binding to Element Properties
- Two-Way Binding Shortcut
- Using Multiple Components
- Components Communication via Props
- Diving Deeper into Bindings
- Using Self-Extending Properties
- Outputting HTML Content
- Setting Dynamic CSS Classes
- Wrap Up
- Chapter 3 : Working with Conditionals Loops
- Chapter 4 : A Closer Look at Reactivity
-
Chapter 5 : Course Project - First Steps
- Module Introduction
- Project Setup A First Component
- Different Ways of Mounting Components
- Adding Data
- Adding a New Component (MeetupItem)
- Working with Different Component Types
- Passing Data Into Components
- Adding a "MeetupGrid" Component
- Adding New Meetups via a Form
- Creating a "TextInput" Component
- Adding a Custom "Button" Component
- Wrap Up
-
Chapter 6 : Diving Deeper into Components
- Module Introduction
- Understanding the Different Component Types
- Component Communication Overview
- Event Forwarding
- Emitting Custom Events
- How to Extract Event Data
- Using Spread Props Default Props
- Working with Slots
- Named Default Slots
- Example: Opening Closing a Modal
- Using Slot Props
- The Component Lifecycle - Theory
- Creation Update Lifecycle Hooks in Action
- Using "tick()"
- Wrap Up
- Chapter 7 : Course Project - Components Deep Dive
-
Chapter 8 : Working with Bindings Forms
- Module Introduction
- Two-Way Binding Refresher
- Understanding Custom Component Bindings
- Relying on Automatic Number Conversion
- Binding Checkboxes Radio Buttons
- Binding Dropdowns
- Chapter 9 : Course Project - Bindings Forms
-
Chapter 10 : Managing State Data with Stores
- Module Introduction
- What's the Problem?
- Creating a Writable Store Subscribing
- Updating Store Data
- Stores and Stateful Presentational Components
- Managing Store Subscriptions
- Using Autosubscriptions
- A Second Store!
- Subscribing for a Short Period
- Understanding Readable Stores
- Unlimited Power with Custom Stores
- Wrap Up
- Chapter 11 : Course Project - Stores
- Chapter 12 : Motion, Transitions Animations
- Chapter 13 : Course Project - Transitions
- Chapter 14 : Network Interaction via Http
- Chapter 15 : Course Project - Http
- Chapter 16 : Special Elements
-
Chapter 17 : Routing Server-side Rendering with Sapper
- Module Introduction
- What and Why?
- Understanding the Folder Structure
- Inspecting the Web Page
- Filenames Routes
- Error Layout Pages
- Preloading in Components
- Pre-fetching Data
- Migrating the Meetup Project Files into the Sapper Project
- Fetching Data on the Client Side
- Prefetching Data on the Server
- Syncing Fetched Data the Store
- Editing Deleting Meetups
- Rendering the MeetupDetail Page
- Adding Global CSS
- Wrap Up
- Chapter 18 : Deployment
- Chapter 19 : Course Roundup
Product information
- Title: Svelte.js - The Complete Guide
- Author(s):
- Release date: July 2019
- Publisher(s): Packt Publishing
- ISBN: 9781838988937
You might also like
video
Angular - The Complete Guide [2024 Edition]
Welcome to our comprehensive Angular course designed for web development professionals seeking to master this powerful …
video
Vue - The Complete Guide (Including Vue Router, Vuex, and Composition API)
Vue.js is a highly popular framework that provides a reactive and great user experience not only …
video
Learn Go in 3 Hours
Go is a compiled, statically typed language in the tradition of Algol and C, with garbage …
video
React Native - The Practical Guide
Mobile apps are one of the best ways to engage with users; no wonder everyone wants …