Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying SvelteKit Up and Running
  • Table Of Contents Toc
  • Feedback & Rating feedback
SvelteKit Up and Running

SvelteKit Up and Running

By : Dylan Hildenbrand
4.4 (11)
close
close
SvelteKit Up and Running

SvelteKit Up and Running

4.4 (11)
By: Dylan Hildenbrand

Overview of this book

The JavaScript ecosystem has grown vast, complex, and daunting for newcomers. Fortunately, SvelteKit has emerged, simplifying the process of building JavaScript-based web applications. This book aims to demystify SvelteKit, making it as approachable as it makes web app development. With SvelteKit Up and Running you’ll be introduced to the philosophy and technologies underlying SvelteKit. First, you’ll follow a standard educational programming approach, progressing to a 'Hello World' application. Next, you’ll explore the fundamental routing techniques, data loading management, and user submission, all through real-world scenarios commonly encountered in day-to-day development, before discovering various adapters employed by SvelteKit to seamlessly integrate with diverse environments. You’ll also delve into advanced concepts like dynamic route management, error handling, and leveraging SvelteKit to optimize SEO and accessibility. By the end of this book, you’ll have mastered SvelteKit and will be well-equipped to navigate the complexities of web app development.
Table of Contents (19 chapters)
close
close
1
Part 1 – Getting Started with SvelteKit
In Progress | 0 / 1 sections completed | 0%
Free Chapter
2
Chapter 1: Initial Setup and Project Structure
In Progress | 0 / 8 sections completed | 0%
3
Chapter 2: Configurations and Options
In Progress | 0 / 6 sections completed | 0%
4
Chapter 3: Compatibility with Existing Standards
In Progress | 0 / 7 sections completed | 0%
5
Part 2 – Core Concepts
In Progress | 0 / 1 sections completed | 0%
7
Chapter 5: Deep Dive into Data Loading
In Progress | 0 / 7 sections completed | 0%
8
Chapter 6: Forms and Data Submission
In Progress | 0 / 7 sections completed | 0%
10
Part 3 – Supplemental Concepts
In Progress | 0 / 1 sections completed | 0%
11
Chapter 8: Builds and Adapters
In Progress | 0 / 6 sections completed | 0%
12
Chapter 9: Hooks and Error Handling
In Progress | 0 / 6 sections completed | 0%
13
Chapter 10: Managing Static Assets
In Progress | 0 / 6 sections completed | 0%
14
Chapter 11: Modules and Secrets
In Progress | 0 / 6 sections completed | 0%
15
Chapter 12: Enhancing Accessibility and Optimizing SEO
In Progress | 0 / 8 sections completed | 0%
16
Index
In Progress | 0 / 2 sections completed | 0%
Appendix: Examples and Support
In Progress | 0 / 7 sections completed | 0%

Matching, sorting, and encoding – oh, my!

If you’re unfamiliar with the ins and outs of SvelteKit’s more advanced routing techniques, it can quickly become unwieldy. To get ahead of the unexpected, we’re going to look at a few more strategies you can use to ensure your application’s routing works as you intend it to. In this section, we will cover how you can ensure that parameters are of the type you’re expecting them to be. We’ll then examine how SvelteKit handles URLs that can resolve to multiple routes. We’ll wrap it up with a bit of information about encoding URLs. You can expect to see the following sub-sections:

  • Matching
  • Sorting
  • Encoding

Once finished, you’ll be one step closer to mastering the routing of SvelteKit apps.

Matching

We’ve looked at how we can use optional and rest parameters in our routes. But think back to the example we created in Chapter 4 dealing with dynamic...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY