First thoughts on Svelte 5’s runes
I'm very busy migrating a big SvelteKit project to Svelte 5's new runes syntax and I have to be honest... not a big fan of the increased number of lines, especially when it comes to the props.
Svelte 5 sites don’t work as expected in Safari 12 and 13
Quite recently I upgraded a Svelte 4 project to Svelte 5, and soon afterwards I found some problems inside of Safari 12 and 13 that needed a tricky workaround.
Putting Svelte stores inside context for fun and profit
Solving problems by putting writable reactive stores in Svelte’s context.
SvelteKit architecture tip: return a writable store from your load function
How do you update content in real time when that content was fetched from the layout’s load function?
Setting up a Debian 11 server for SvelteKit and Django
I recently had to set up a brand new server for a website running on SvelteKit and its API running on Django. I am a software developer and setting up servers and hosting isn't something I normally do, so I followed a bunch of different tutorials. In this article I want to combine all these tutorials, mostly for future me, but hopefully you'll find it useful as well.
Hosting SvelteKit
I've been running my side project Critical Notes, built with SvelteKit, on my own server for about a year now and it's been pretty much rock solid. Since I saw some questions about how to host a SvelteKit app on your own server, I figured I'd document my setup.
SvelteKit session refactor
SvelteKit version 1.0.0-next.415 removed the session object and store. Refactoring my project wasn't very straightforward, let's go over the changes.
SvelteKit Architecture - the solution
Last August I wrote about trying to come up with the architecture for a SvelteKit app I was working on, and failing. I'm happy to say that I have found a solution for all my problems!
Working around HttpOnly cookie problems in SvelteKit
When HttpOnly cookies didn't work as expected in my SvelteKit project I had to find a workaround.
Architecting a SvelteKit app - and failing
I was working to architect a SvelteKit app so that it does as few requests as possible, from a central place, so that all subpages have access to the content. Sadly dealing with SSR makes it very hard to achieve my goals.