June 2023
Intermediate to advanced
250 pages
4h 40m
English
SvelteKit is very much about routing: figuring out what to display once your browser requests a page at a specific location. For example, the /birthdays route that we’ll work on in this chapter. Part of that routing is ensuring that the route has the data available to it. In this chapter, you’ll see how you can test-drive SvelteKit’s load function for pulling that data into a component.
You’ll also see how Playwright can be used to build an end-to-end test that proves all the various components of this system.
This chapter covers the following:
By the ...
Read now
Unlock full access