SvelteKit SPA: when to use onMount, page.ts (awaited), and page.ts (stream)
A practical guide to picking the right data loading pattern for each page in a SvelteKit SPA. All three approaches have a place; here's how to choose.
All posts (19)
A practical guide to picking the right data loading pattern for each page in a SvelteKit SPA. All three approaches have a place; here's how to choose.
A scored, scenario-by-scenario comparison of the three main data loading approaches in SvelteKit SPA mode, with a concrete recommendation on which to use and when.
Build a full CRUD UI on top of our generated API client using SvelteKit stream load functions and invalidate for mutations.
Set up a SvelteKit SPA with adapter-static, disable SSR, add DaisyUI for styling, and auto-generate a type-safe TypeScript API client from your FastAPI OpenAPI spec using Orval.
Build a complete REST API for a todo app with FastAPI. Learn Pydantic models, in-memory storage, PUT vs PATCH, CORS configuration, and OpenAPI operation IDs.
Set up a FastAPI project with uv, configure Ruff for code quality, optimize VS Code settings, and manage environment configuration with Pydantic Settings.
I had this setup running on WSL and wanted the same on Fedora — zsh with Oh My Zsh, a couple of essential plugins, and Powerlevel10k.
I tested Fedora 42 and Ubuntu 24.04 side by side on a 16″ Lenovo IdeaPad 5 Pro i5 to see which Linux distro works better out of the box.
After years on Windows and several failed attempts to switch, I'm now starting a slow transition to Linux — with the goal of building an environment I fully control and genuinely enjoy working in.
Learn how to implement authentication in a SvelteKit SPA with HTTP-only cookies, reactive auth state, and protected routes using a clean, straightforward approach.
Learn how to connect a Svelte SPA with a FastAPI backend using Orval to auto-generate TypeScript API clients from OpenAPI specs for full type safety and clean architecture.
How separating frontend and backend brought instant navigation, cleaner architecture, independent deployments, and happier development.
Welcome to my blog! This is my first post where I introduce myself and share what you can expect from this blog.
Simplify JavaFX + Spring Boot integration with FxWeaver. Load FXML views and their Spring-managed controllers with a single method call, and open child windows cleanly.
Use FXML to separate UI from logic in a JavaFX + Spring Boot app. Build a working Google search window with SceneBuilder-compatible XML views and a Spring-managed controller.
Proper Spring Boot + JavaFX wiring using ApplicationContext, the init/stop lifecycle, and the StageReadyEvent pattern to decouple UI creation from application startup.
Step-by-step setup of a JavaFX project with Spring Boot from scratch. Add JavaFX as a Maven dependency and launch a Spring Boot app from an Application.launch call.
Why and how to use Spring Boot in a JavaFX desktop application. Covers dependency injection, profiles, events, and the motivation behind the series.
Why I chose SvelteKit over Jekyll, Gatsby, and Hugo to build a static blog from scratch — and what the trade-offs look like compared to WordPress.