React(3)
Hooks, state and the component patterns that still hold up once an app is past its first screen.
- Next.js App Router Navigation, Measured: What a Link Prefetches and Which next/router APIs Are GoneWe measured client-side navigation on a deployed Next.js 16.1 site: a soft navigation transfers about half the bytes of a full page load, and a <Link> prefetch transfers the same payload as the navigation it prepares - the whole route, once per link in the viewport, in production. Then we read the useRouter return type out of the installed package: six methods, and no router.events, router.query, router.pathname, router.isReady, router.beforePopState or shallow routing.19 min read
- React Hooks Guide: useState, useEffect, and When Not to Use an EffectThe hooks you use daily, the rules that make them work, and the failure they cause most often: reaching for useEffect when the answer is a computed value, an event handler, or an external store.15 min read
- Next.js 16 App Router: Getting Started, and What the Model CostsThe App Router explained through a site that actually runs on it: server components, async request APIs, generateStaticParams, and the three things that break when you deploy somewhere other than Vercel.13 min read