Skip to content

All posts

13 posts on React internals, the browser and frontend tooling. Newest first.

November 2026

  1. , 15 min readjotai-tanstack-query: Using Jotai with TanStack QueryTanStack Query owns the cache. Atoms just get to write the key.
  2. , 13 min readWhen to Use WebSockets (and When You Don't Need Them)If the browser barely talks back, you probably want something simpler.
  3. , 12 min readBest AI for Coding in 2027: Models, Tools and Real Costs"Which AI is best for coding?" is the wrong question. Here are the three right ones.
  4. , 8 min readpostMessage Security: Checking event.origin the Right WayA message handler without an origin check is an open API.
  5. , 11 min readHow I Built a DevTools Panel for Debugging postMessageDevTools shows every request and none of the messages. So I built the missing panel.

March 2026

  1. , 12 min readReact Commit Phase: Sub-phases, Layout and Passive EffectsThe React commit phase runs before mutation, mutation and layout in one synchronous pass, then passive effects. Where each effect and its cleanup runs.
  2. , 12 min readReact State Management: Zustand vs Jotai vs TanStack QueryWhich React state tool for which state: TanStack Query for server data, Zustand or Jotai for shared client state, useState for local and the URL for filters.
  3. , 11 min readReact Compiler 1.0: Automatic Memoization and useMemoReact Compiler is stable since 1.0 (October 2025), but React 19 does not memoize on its own. What the compiler does, when useMemo stays, and "use memo".
  4. , 8 min readNext.js App Router vs Pages Router: A Practical Guide (2026)A practical comparison of Next.js App Router and Pages Router - routing, data fetching, layouts, caching, and when to actually use each one.
  5. , 7 min readReact Rendering ExplainedHow React rendering works under the hood: reconciliation, virtual DOM, batching, and what actually triggers a re-render.
  6. , 6 min readReact Hooks Deep DivePractical tips on useEffect, useLayoutEffect, useReducer, and useRef - their optimization patterns and common pitfalls.
  7. , 4 min readTypeScript Generics ExplainedA deep dive into generics - one of the most powerful and misunderstood features of TypeScript.
  8. , 5 min readReact Performance TipsKey techniques to keep your React app fast and responsive.