THE

HACKPILE

Build real Svelte apps.

Master the architecture behind them.

Svelte and SvelteKit are deceptively simple on the surface and surprisingly deep underneath. Hackpile covers both sides. Every guide here is written to be understood on first read and referenced on the tenth — clear enough for day one, thorough enough for production.

Docs Reference All reference docs →
Essential flagship entry points
10 min concept

Why Image Optimization Matters More Than You Think

Images are the heaviest resource on web pages. Sizing matters more than compression; oversized images waste more bandwidth than poor encoding.

10 min concept

Choosing the Right Image for the Job

Vector vs raster, AVIF vs WebP, lossy vs lossless, and the format decision tree every developer needs before touching a compression tool.

24 min project

Complete Pipeline Recap

Run a before/after Lighthouse audit. Learn what Core Web Vitals measure and how each lesson moves LCP, CLS, and TBT.

16 min reference

Scoped CSS

How Svelte scopes CSS at compile time, the three boundary rules, scoped keyframes, CSS nesting, and specificity differences.

30 min guide

Dynamic Ad Campaign Foundations

Learn the architecture of a dynamic ad campaign system: domain hierarchy, data model, schema design, and project structure for ad serving and tracking.

26 min concept

Why Standard i18n Approaches Fail for Technical Blogs

Most i18n strategies duplicate or mistranslate. Learn the overlay model: prose-only translation for Markdown blogs at any scale.

18 min concept

Introduction to Load Functions

Learn how SvelteKit load functions work, why they exist, and how to use them to supply data to your pages before they render.

22 min tutorial

Real Authentication in SvelteKit with better-auth

Step-by-step guide to integrating better-auth in SvelteKit: setup, schema, hooks, client, and login/logout UI. No ORM required.

12 min concept

Routing

Understand the philosophy behind SvelteKit's filesystem-based routing. Learn why co-location matters and how your folder structure becomes your router.

20 min concept

Fine-Grained Reactivity

Intro to Svelte 5 reactivity and runes: how reactive programming works, why it matters, and the runes powering modern Svelte apps.

30 min reference

{#if ...}

Master Svelte 5's {#if} block for conditional rendering with transitions, reactivity, and real-world patterns.

15 min concept

Context API Introduction

An overview of Svelte 5 Context API series, outlining the topics to be covered and the learning path for mastering context in Svelte applications.

Integration Guides sorted by article count

The Hackpile © 2026