Learn
Read one focused tip and understand why it works.
Focused lessons for the stacks developers use every day. Each category now has its own crawlable page, so users and search engines can land directly on the right topic.
Featured
Pre-render dynamic pages at build time instead of on every request to cut TTFB.
// app/blog/[slug]/page.jsx
export async function generateStaticParams() {
const posts = await getPosts();
return posts.map((post) => ({
slug: post.slug,
}));
}
export default async function BlogPost({ params }) {
const post = await getPostBySlug(params.slug);
return <Article post={post} />;
}Technology switchboard
Pick a stack, then open a focused field note.
Next.js field notes
Routing, rendering, caching, and app router decisions. Each note includes production context, copy-ready examples, and platform-specific advice.
Pre-render dynamic pages at build time instead of on every request to cut TTFB.
Automatic resizing, lazy loading, and modern formats ship out of the box.
Keep components server-only by default and add 'use client' only where interaction starts.
Use the fetch cache option to control ISR-style revalidation per request.
Split route-specific UI into local files so layout code does not become a shared dumping ground.
Use loading.jsx and error.jsx so slow data and failed requests have designed states.
Read private tokens only in server components, route handlers, or server actions.
Give every important page a focused title, description, canonical URL, and social preview.
Load charts, editors, maps, and visualizers only on routes that actually need them.
Keep simple form writes close to the UI without creating extra client-side API plumbing.
Read one focused tip and understand why it works.
Use the idea immediately in your stack or workflow.
Measure the result and keep the pattern for later.