Skip to content

React

13 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. 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.

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.

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.

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.

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.

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.