Type something to search...

Blog

Nested Layouts in Next.js: Sharing UI Across Routes Without Re-rendering

Nested Layouts in Next.js: Sharing UI Across Routes Without Re-rendering

Most apps have UI that repeats across many pages: a top navigation bar, a sidebar inside the dashboard, a row of tabs inside settings. In a tradition

Continue Reading
Intercepting Routes in Next.js: Creating Modal Experiences the Right Way

Intercepting Routes in Next.js: Creating Modal Experiences the Right Way

Most modals are built with a piece of state: const [open, setOpen] = useState(false). That works until someone wants to share what's in the modal,

Continue Reading
Unit Testing in Python with pytest: A Complete Beginner's Guide

Unit Testing in Python with pytest: A Complete Beginner's Guide

If you've ever changed one function and broken something three files away, you already know why tests exist. The hard part is usually getting started

Continue Reading
Parallel Routes in Next.js: Building Dashboards with Independent Sections

Parallel Routes in Next.js: Building Dashboards with Independent Sections

A dashboard is rarely one thing. It's a revenue chart, a list of recent orders, an activity feed, and maybe a panel of alerts, each pulling from a di

Continue Reading
Route Groups in Next.js: Organizing Your App Without Changing URLs

Route Groups in Next.js: Organizing Your App Without Changing URLs

In the App Router, folders are URLs. app/dashboard/settings/page.tsx becomes /dashboard/settings, and every layout.tsx along the way wraps the

Continue Reading
Dynamic Routes in Next.js: Mastering [slug], Catch-All, and Optional Catch-All Segments

Dynamic Routes in Next.js: Mastering [slug], Catch-All, and Optional Catch-All Segments

Most real routes aren't known ahead of time. A blog has a page per post, a store has a page per product, and a docs site has pages nested three or fo

Continue Reading