Web Development and Cloud Computing
Local-first storage with cloud synchronization or backup doesn't need to be difficult or expensive. Learn how to achieve it with Firestore and Svelte 5 Runes.
Approaches to working with Modal Dialogs in Svelte
Docker is a great way to deploy your SvelteKit app, but how to create an optimized container build from a pnpm mono-repo isn't always obvious. Learn how to configure a small and efficient docker build process.
They improved the security of Firebase Auth so much it completely stopped working. Learn how to fix it.
Naive use of +layout load functions could put your SvelteKit app at risk of security leaks. This details one approach to applying security in an unobtrusive manner.
Sequential async hooks.server handle functions can introduce waterfalls which can be a performance killer. Avoid slowdowns by running independent handle functions in parallel.
There are already a few guides on how to deploy your SvelteKit application to GitHub Pages but many are more complex than they need to be. This guide shows an easy way to do it with less configuration.
SvelteKit makes web development easy. So easy, you may not notice that you accidentally added some inefficiency. Learn what to look for and how to easily avoid it.
NoSQL doesn't mean no-schema, it means each entity has it's own schema so you may end up with more than one. Learn how Schema Versioning helps bring order to chaos and how to use it with Google Firestore
Using Intl to format dates and numbers on a purely client-side app is easy, but adding SSR can result in a flash of wrongly-styled content. Learn how to perfectly format SSR content to match the users locale
Support for async await is baked into Svelte templates but when you're using SvelteKit, you may need to wait for auth to settle in a load function which can lead to subtle gotchas.
When Static Site Generation isn't an option adding output caching can provide similar benefits. This shows how to cache SvelteKit pages in Redis