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.
Automating your changelog and GitHub releases
In a short time I’ve created 25 releases for my static site generator Saga. For each release I’ve manually updated the CHANGELOG.md file, which is a bit tedious and easy to forget. I really wanted to automate this using GitHub Actions, which I was...
Connecting Stripe to Firestore via Cloud Functions and webhooks
After adding subscriptions in iOS via Apple’s Storekit, I have now also added subscriptions to the web client of Critical Notes, using Stripe (even though they have some serious drawbacks at the moment). Since it was a bit of a puzzle to get it...
Clean up Firestore and Storage when deleting a document
When you delete a document in Firestore, its subcollections and their documents are not automatically recursively deleted. Here is a simple Cloud Function that takes care of it.
Our front end stack one year later
One year ago I wrote my third article in a series where I researched front end tools, and with all that I learned I began to improve our front end stack at Sling. It’s the big Angular app that I wrote about, on which I’ve worked for 2.5 years now....
Researching front end tools, part 3: Angular & Webpack vs Browserify
Researching front end tools, part 2: Deku, page.js and cssnext
Researching front end tools, part 1: Ampersand.js, React, Webpack, PostCSS and ESLint