Tag:App Router
All the articles with the tag "App Router".
Avoiding Server Component Waterfall Fetching with React 19 cache()
Updated:Learn how to use the React 19 cache() API in the Next.js App Router to optimize performance and avoid fetch waterfalls when using React Server Components.
Building an Active NavLink Component in Next.js
Published:Active link styling is one of the most common things you need in a real application. Here is how to build a reusable NavLink component for a Next.js app, taking inspiration from React Router, that handles Cache Components and flicker-free hydration.
Component Architecture for React Server Components
Published:React Server Components let each component fetch the data it needs. Pages stop being giant loaders that prop-drill everything down. Here's how that changes how you architect a page, where loading boundaries live, and why it leads to better UX.