Cookbook Router
Practical Patterns

Recipes Overview

Production patterns for core router primitives, React applications, URL state, rendering, testing, SSR, and build-time generation.

Pick a problem, not a feature

Recipes start from application work. Each one shows the route declaration, runtime integration, and the failure mode that usually arrives five minutes after the happy-path demo.

Core Router recipes

Core Router recipes use @cookbook/router directly. They show how to build links, render route matches, place layouts and slots, handle intercepts, read metadata, and test router state from the runtime primitives.

Application and production recipes

React application recipes use the official React integration. Runtime and production recipes cover URL state, generated route files, tests, SSR, hydration, and build tooling.

On this page