← blog

building scalable react apps with next.js app router

March 1, 2025 · 8 min read

The App Router fundamentally changes how we think about data fetching, rendering, and caching in Next.js. This guide distils six months of production use into actionable patterns.

server vs client components

The golden rule: start server-side, opt into the client only when you need interactivity or browser APIs...

streaming with suspense

Wrapping slow components in Suspense streams HTML progressively, slashing Time to First Byte...

parallel routes

Show two independent sections of a page (e.g. a feed and a sidebar) without blocking each other...

the new caching model

Next.js 15 resets the default to no caching. Here's how to opt in deliberately with fetch options and route segment config...

next.js · react · typescript

more

integrating openai streaming into a next.js appbuilding autonomous ai agents with langchain & reactmulti-agent workflows with crewai and autogen