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.ts configuration
  • Loading data with loader and clientLoader, and generated route types
  • Mutations with action, <Form> and useFetcher, 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

Outcomes

By the end of this course you will be able to:

  1. Build a full-stack app with typed loaders, actions and nested routes.
  2. Handle forms and mutations that work with and without client-side JavaScript.
  3. Choose a rendering strategy per route and deploy to your target platform.
  4. Migrate a Remix v2 or older React Router app to React Router v7.

Course outline

ModuleTopic
1React Router v7 modes and project setup
2Route modules, nested routes and layouts
3Loaders, client loaders and type generation
4Actions, forms and fetchers
5Pending UI, optimistic updates and revalidation
6Errors, boundaries and not-found handling
7Sessions, cookies and authentication
8Streaming, prerendering and SPA mode
9Middleware, context and data access
10Testing routes and components
11Deployment targets and migrating from Remix
12Project: 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.