|
You are here |
derekkedziora.com | ||
| | | | |
kirillunlimited.com
|
|
| | | | | How to easily implement color scheme switching on a website. | |
| | | | |
endtimes.dev
|
|
| | | | | ||
| | | | |
blog.miguelgrinberg.com
|
|
| | | | | miguelgrinberg.com | |
| | | | |
khromov.se
|
|
| | | In this blog post we'll go over a lesser documented but powerful part of SvelteKit - event.locals. Locals are a way to register trusted, server-side, per-request state. The most common use case for locals is to associate some type of data with the current request. Example use cases for locals are: Since locals are per-request, they don't leak between requests, and disappear immediately when the request has been delivered to the user. Locals are common in other frameworks - you might already be familiar w... | ||