Remix Guides
Learn Remix from the request up.
These guide chapters introduce Remix at a high level, then progressively deepen into routing, rendering, interactivity, streaming, data, security, assets, testing, production, examples, and tutorials.
API reference lives separately at api.remix.run.
A high-level introduction to Remix and the mental model behind a Remix application.
How route maps, route helpers, controllers, actions, and responses define Remix request handling.
How a Web Request becomes a Web Response across runtime adapters and the middleware pipeline.
How to build pages from Remix components, props, context, document shells, styles, and first-party UI.
How server-rendered UI hydrates, handles events, connects components to application models, navigates, and cancels stale work.
How to stream and reload route-owned UI with Frame, fallbacks, and server and browser frame resolvers.
The CSS-first animation model and Remix UI helpers for motion that respects rendering state.
- 08
Data and Validation
How Remix validates inputs, defines relational data, queries databases, and runs SQL migrations.
- 09
Forms and Mutations
How native forms, action responses, validation failures, redirects, and enhanced mutations fit together.
- 10
Auth, Sessions, and Security
How Remix stores per-browser state, resolves identity, protects routes, and defends browser request boundaries.
- 11
Files and Assets
How Remix serves static files and source assets, accepts bounded uploads, stores files, and returns HTTP file responses.
- 12
Errors and Cancellation
How expected HTTP failures, uncaught server errors, rendering failures, client runtime errors, and aborted work propagate through Remix.
- 13
Testing
How to choose a test boundary and test Remix routes, stateful request flows, components, and end-to-end behavior.
- 14
CLI and Tooling
The Remix command-line workflow for creating, inspecting, testing, checking, and running TypeScript projects.
- 15
Production
How to configure, start, cache, observe, and shut down a Remix application in production.