Course Number: SVLT-102
Duration: 2 days (13 hours)
Format: Live, hands-on

Advanced Svelte Training Overview

This Advanced Svelte course teaches attendees how to work with environment variables, advanced bindings, component composition, routing, actions, UI special effects, special elements, hooks, and unit testing. Participants learn how to create complex UI effects, understand the use of special elements, and master advanced routing techniques. This course also covers hooks, server-side and client-side rendering, and unit testing. By the end of this Svelte training, participants will be able to immediately create complex, high-performance web applications with Svelte.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

In addition, some courses are available as live, instructor-led training from one of our partners.

Objectives

  • Understand the use of environment variables in Svelte
  • Work with advanced bindings, including block bindings, media elements, and more.
  • Master advanced component composition techniques, including slots, named slots, slot fallbacks, and the context API.
  • Use advanced routing techniques including optional parameters, REST parameters, param matchers, and route groups
  • Understand actions and element-level lifecycle functions
  • Interface with 3rd party libraries
  • Create UI special effects using motion, transitions, key blocks, and animations directives
  • Understand special elements in Svelte such as Svelte Self, Svelte Component, Svelte Element, and more
  • Use hooks in Svelte and handle hook requests and errors
  • Master server-side rendering, client-side rendering, pre-rendering, links, and unit testing in Svelte

Prerequisites

All Svelte training students must have Svelte, JavaScript, and HTML programming experience, either on their own or from another class they attended. Experience with CSS is helpful but not required.

Outline

Expand All | Collapse All

Introduction
Environment Variables
Advanced Bindings
  • Content-Editable
  • Each Block Bindings
  • Media Elements
  • Readonly Element Dimensions
  • This Bind
  • Bind to Components Props
  • Bind to Component Instances
Advanced Component Composition
  • Slots
  • Named Slots
  • Slot Fallbacks
  • Slot Props
  • Slot Content
  • Module Context
  • Context API
Advanced Routing
  • Optional Parameters
  • REST Parameters
  • Param Matchers
  • Route Groups
  • Organize Layouts and Routes
Actions
  • What are Actions?
  • How are Actions used?
  • Element-Level Lifecycle Functions
  • Customizing Reusable Events
  • Interface with 3rd Party Libraries
UI Special Effects
  • Motion: Tweens & Spring
  • Transitions Directive
  • Parameters
  • In and Out
  • Custom CSS/JS Transitions
  • Transition Events
  • Key Blocks
  • Global & Deferred Transitions
  • Animations Directive
Special Elements
  • Svelte Self
  • Svelte Component
  • Svelte Element
  • Svelte Window & Bindings
  • Svelte Body
  • Svelte Document
  • Svelte Head
  • Svelte Options
  • Svelte Fragment
Hooks
  • What is Hook?
  • How are Hooks used?
  • Handle Hook
  • Request Event
  • Handle Fetch & Error
Pages and Layout
  • Server-Side Rendering
  • Client-Side Rendering
  • Pre-Rendering
  • Trailing Slash
  • Universal Loading
  • Invalidation
Links
  • Preloading
  • Reloading
Unit Testing
  • What is Unit Testing?
  • Why Unit Test Svelte?
  • Unit Testing Framework
  • Testing Svelte components
  • Testing Svelte stores
  • Testing SvelteKit
Conclusion

Training Materials

All students receive comprehensive courseware covering all topics in the course. The instructor distributes courseware via GitHub. The courseware includes documentation and extensive code samples. 

Software Requirements

Students need a free, personal GitHub account to access the courseware and permission to install .NET SDK, Node.js, and Visual Studio Code on their computers. They also need permission to install NuGet Packages, NPM Packages and Visual Studio Extensions. If students are unable to configure a local environment, a cloud-based environment can be provided.



Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan