The Comprehensive Guide to Locals in SvelteKit
Related
More from Stanislav Khromov
Streaming in SvelteKit is a powerful feature that allows you to load data progressively. In a nutshell, streaming allows your SvelteKit app to send an initial content response to the browser quickly, while fetching and sending additional data as it becomes available. This can make your app feel more responsive, especially when dealing with slow...
If you’ve been following AI news lately, you might have heard about the “strawberry test”. It’s a simple question that stumps many AI models: How many R’s are in the word “strawberry”? This seemingly easy task highlights some interesting limitations in large language models (LLMs). Prefer a video version of this blog post? Watch below: Why is...
For the past two years, I’ve been on the receiving end of a passive aggressive win-back campaign from Dropbox. The feud originally started when I migrated away from Dropbox and hence canceled my subscription while leaving them saddled with over a terabyte of my data to carry forever, like a camel in the digital desert. After all, why wouldn’t I?...
Watch a video version of this blog post below! Svelte 5 brings a lot of changes, from the new Runes-based syntax to deep reactivity and performance improvements across the board. But one aspect that’s flown under the radar is the massive reduction in bundle size. In my experiments, you can get about 50% decrease in code shipped to users, just by...
If you’re looking to containerize your SvelteKit application, you’ve come to the right place. In this post, we’ll walk through creating a Dockerfile for a SvelteKit app using adapter-node. Let’s dive in! Configure SvelteKit to use adapter-node First, let’s install adapter-node which builds your site for Node.js: Then, open the svelte.config.js...