Skip to content

All posts

29 posts

10. 01. 2026 · 22 min read

Layers in a React App

Split a React payment screen into view, model, and data, following Juntao Qiu. Running the example repo shows a useMemo bypass and a fetch loop.

09. 22. 2026 · 30 min read

Decision Models, Jev and Kev

Jev returns probabilities instead of text. Its confidence is arithmetic, not learned, and calibration belongs to the distribution, not the model.

09. 21. 2026 · 19 min read

overlay-kit

Swapping a global isOpen flag for one await: what I gained, what I lost, and how overlay-kit's events, reducer, and openAsync core really work.

09. 17. 2026 · 10 min read

LLM Calibration and Overconfidence

Calibration is knowing how often you'll be right. How ECE measures the gap, GPT-4's ECE going 0.007 to 0.074 after post-training, and what's known of why.

07. 23. 2026 · 24 min read

Shared Language

What to do when a product manager and a developer use the same word differently: ubiquitous language from Evans and grounding theory from Clark.

06. 22. 2026 · 16 min read

Harness (Systems) Engineering

After prompts gave way to context engineering, what comes next? Anthropic engineering points to harness design, evals, and containment.

06. 17. 2026 · 20 min read

Kalyx

Why I built Kalyx, a headless React DatePicker, and how it differs from Ark UI, React Aria and react-day-picker: UTC ISO values, Intl DST, timezone tests.

06. 11. 2026 · 31 min read

How to Save AI Tokens

Measure AI coding token costs with a React POC and cut them using prompt caching, subagents, lean MCP, context engineering, and Cursor Composer.

06. 10. 2026 · 16 min read

How Tokens Work

How BPE creates tokens, embeddings feed LLMs, prefill and decode shape pricing, and KV cache and prompt caching reduce repeated-input costs.

05. 29. 2026 · 16 min read

Context Files

How agents load CLAUDE.md, AGENTS.md, SKILL.md, and Cursor rules, why instructions get lost, and what an ETH Zurich study says to put in context files.

05. 26. 2026 · 17 min read

Four Tiers of Code Intelligence

Four tiers of tools that cut an AI agent's code search cost: context packing like Repomix, tree-sitter repo maps, CodeGraph's graph, and LSP-based Serena.

05. 24. 2026 · 14 min read

MCP and Function Calling

How MCP differs from function calling: six primitives, stdio and Streamable HTTP, the tools/list to tool_use loop flow, and risks like Tool Poisoning.

05. 18. 2026 · 19 min read

State Management

A framework for frontend state management across seven categories (local, global, server, form, URL, external, guards) with React modeling criteria.

04. 18. 2026 · 24 min read

Domain Models

Where frontend domain logic should live, with an income tax example: pure functions, anemic models, API mappers, ViewModels, and where to stop.

04. 13. 2026 · 9 min read

Domain Terms

How domains, domain models, domain objects, and domain object models differ, using Eric Evans' and Martin Fowler's definitions and an income tax example.

03. 28. 2026 · 14 min read

Reflections on Refactoring the Second Toss Frontend Fundamentals Mock Exam

Refactoring the meeting room reservation app from the second Toss Frontend Fundamentals mock exam: component decomposition and domain logic extraction.

03. 02. 2026 · 23 min read

The AI Frontend Engineer

How frontend engineers grow when AI writes the code: new skills in verification, specification, and judgment, drawn from Karpathy, Vercel v0, and METR.

02. 01. 2026 · 26 min read

Abstraction

What abstraction means in frontend and how good abstractions differ from bad ones: levels of abstraction, intention-revealing names, composition.

01. 04. 2026 · 18 min read

queryKey

How TanStack Query queryKey management evolved from inline arrays and constants to key factories and v5 queryOptions, with DataTag and invalidation.

12. 30. 2025 · 13 min read

How queryKey Comparison Works

How TanStack Query judges new queryKey arrays equal: hashKey serialization (key order, undefined, Map, cycles) and how filters compare key structure.

12. 03. 2025 · 16 min read

Placing ErrorBoundary

How many ErrorBoundaries to use and where, checked in source: what route, screen, and region each receive, one shared fallback, and retry conditions.

11. 28. 2025 · 9 min read

Why the Retry Button Does Nothing

Three cases where retry in a react-error-boundary fallback brings back the same fallback, checked in installed source, and how to clear each one.

11. 17. 2025 · 17 min read

Error Propagation

Throw the same error from seven places and only four reach an ErrorBoundary. This post traces where each kind actually propagates.

05. 20. 2025 · 28 min read

Mastering React Fiber

A source-based look at React Fiber: Stack Reconciler, Fiber nodes, double buffering, Lanes, the Work Loop, render and commit, and Concurrent Features.

05. 15. 2025 · 9 min read

Why React Uses MessageChannel

Why React's Scheduler uses MessageChannel over requestIdleCallback, rAF, or setTimeout, traced through React PRs and Chrome measurements of the 4 ms clamp.

12. 01. 2024 · 9 min read

Can Biome Replace ESLint and Prettier?

Biome vs ESLint and Prettier: linting and formatting benchmarks, adoption notes, and a migration guide for this Rust-based all-in-one toolchain.

08. 18. 2024 · 19 min read

Zustand, What Makes You ProviderLess?

A source-code analysis of how Zustand manages state without a Provider, including how its module-scoped design differs from the React Context API.

07. 06. 2024 · 13 min read

Understanding Compression Algorithms

Compares the structure, speed, and ratio of ZIP, GZIP, ZSTD, BZIP2, XZ, and Brotli, why tar.gz beats zip, and when to pick tar.zst for build artifacts.

07. 01. 2024 · 12 min read

The Difference Between LZ77 and LZ78

How LZ77 and LZ78 handle their dictionaries differently, how each forgets old data, and how DEFLATE, ZIP, GZIP, and Zstd descend from LZ77.