Tag: React Server Components
All the articles with the tag "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.
The Precompute Pattern: Encoding Dynamic Data into URLs in Next.js
Published:The Precompute pattern encodes request-specific data like auth state, locale, and feature flags into URLs to keep pages statically generated. This post walks through how it works, where it shows up in production, and how it relates to cache components.