React Router v7 merged the ideas of Remix into the router many React apps already use. In framework mode it handles routing, data loading, mutations, server rendering and code splitting, all built on web standards like Request, Response and HTML forms. This course teaches you to build complete applications with it, and to migrate existing Remix or React Router projects.
What you'll learn
- The three ways to use React Router: declarative, data and framework mode
- Route modules and the
routes.tsconfiguration - Loading data with
loaderandclientLoader, and generated route types - Mutations with
action,<Form>anduseFetcher, including optimistic UI - Pending states, revalidation and error boundaries per route
- Sessions, cookies and authentication on the server
- Rendering strategies: server rendering, static prerendering and SPA mode
- Streaming slow data and deferring non-critical content
- Middleware and context for shared server logic
- Deploying to Node.js, serverless and edge runtimes
Who it's for
- React developers who want server data loading without leaving React Router
- Teams with an existing Remix v2 app planning their upgrade
- Developers comparing React Router with Next.js for a new project
Prerequisites
- Solid React and TypeScript (see React & TypeScript Fundamentals)
- Basic understanding of HTTP requests, responses and cookies
- Node.js installed
Outcomes
By the end of this course you will be able to:
- Build a full-stack app with typed loaders, actions and nested routes.
- Handle forms and mutations that work with and without client-side JavaScript.
- Choose a rendering strategy per route and deploy to your target platform.
- Migrate a Remix v2 or older React Router app to React Router v7.
Course outline
| Module | Topic |
|---|---|
| 1 | React Router v7 modes and project setup |
| 2 | Route modules, nested routes and layouts |
| 3 | Loaders, client loaders and type generation |
| 4 | Actions, forms and fetchers |
| 5 | Pending UI, optimistic updates and revalidation |
| 6 | Errors, boundaries and not-found handling |
| 7 | Sessions, cookies and authentication |
| 8 | Streaming, prerendering and SPA mode |
| 9 | Middleware, context and data access |
| 10 | Testing routes and components |
| 11 | Deployment targets and migrating from Remix |
| 12 | Project: a full-stack dashboard app |
FAQ
Is Remix dead?
No, but the name now points to a separate, experimental project. The Remix v2 framework features you may know continue in React Router v7, which is what this course teaches.
How does this compare with Next.js?
Both are full-stack React frameworks. React Router keeps a smaller, web-standards-based API and deploys almost anywhere; Next.js leans on React Server Components and its own conventions. See Next.js App Router in Practice for the other side.
Can I use it for a plain single-page app?
Yes. SPA mode builds a static app that you can host anywhere, while keeping the same route module structure.
How do I join?
Get in touch and we'll share the current format, schedule and enrolment details.