Explore >> Select a destination


You are here

derekkedziora.com
| | kirillunlimited.com
2.0 parsecs away

Travel
| | How to easily implement color scheme switching on a website.
| | endtimes.dev
3.7 parsecs away

Travel
| |
| | blog.miguelgrinberg.com
2.0 parsecs away

Travel
| | miguelgrinberg.com
| | khromov.se
20.7 parsecs away

Travel
| 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...