Skip to main content

Coding Journal

Explore in-depth articles, practical cheatsheets, and insights on web development, modern JavaScript, React, TypeScript, and software engineering best practices.

JavaScript Signals: A Complete Guide to Fine-Grained Reactivity

Learn how signals work under the hood and why nearly every frontend framework now uses them. Build a signals library from scratch, understand push-pull evaluation, the diamond problem, batching, and dynamic dependencies, compare Solid, Vue, Svelte, Angular, and Preact, explore the TC39 Signals proposal, and learn the patterns and pitfalls of reactive state.

Local-First Web Apps: IndexedDB, Sync Engines, and CRDTs for Offline-Ready UIs

A practical guide to building local-first web apps. Learn how local-first differs from offline caching, how to store data with IndexedDB, OPFS, and SQLite in WebAssembly, how to build an optimistic outbox, how last-write-wins and CRDTs like Yjs resolve conflicts, how sync engines compare, and how to handle migrations, multiple tabs, auth, and offline testing.

View all cheatsheets →