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.

read more

Putting Svelte stores inside context for fun and profit

Solving problems by putting writable reactive stores in Svelte’s context.

read more

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?

read more

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.

read more

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.

read more

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!

read more

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.

read more

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.

read more