Explore >> Select a destination


You are here

haseebmajid.dev
| | khromov.se
1.8 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...
| | joyofcode.xyz
1.4 parsecs away

Travel
| | Learn SvelteKit user authentication using cookies.
| | chrisjayden.com
3.2 parsecs away

Travel
| | tRPC is a great tool for managing server-side procedures. However, it can be a bit tedious to import it in every `+page.server` file. In this article, I will show you how to optimize your code imports and avoid unexpected errors.
| | niryariv.wordpress.com
30.8 parsecs away

Travel
| I discovered JSONP just recently, following Chris' comment. Though I initially didn't intend to support JSON, JSONP made enough difference that I rewrote most of the TheRealURL code (all 20 lines of it) to support it. Since it took me some time to figure out JSONP initially, perhaps a quick guide might help those who...