Introduction to Remix 3
Remix 3 is a runtime-agnostic web framework built entirely on web standards. It provides composable, single-purpose packages that work seamlessly across JavaScript runtimes without modification.What is Remix 3?
Remix 3 represents a fundamental shift in how web frameworks are designed. Rather than building around bundlers and compilers, Remix 3 embraces web standards to create truly portable code that runs anywhere JavaScript runs.Remix 3 is currently in alpha at version
3.0.0-alpha.3. While under active development, all packages are usable in production and designed to work independently.Core Philosophy
Remix 3 follows five key principles:Build on Web APIs
Use Web Streams, Fetch API, Web Crypto, and other standards instead of runtime-specific APIs. This ensures maximum interoperability.
Religiously Runtime-Agnostic
Every package works seamlessly across Node.js, Bun, Deno, Cloudflare Workers, and other environments without modification.
Demand Composition
Abstractions are single-purpose and replaceable. Every package is useful and documented independently.
Avoid Dependencies
Choose dependencies wisely, wrap them completely, and expect to replace most with custom implementations.
Key Features
Runtime-Agnostic by Design
Remix 3 packages work across all major JavaScript runtimes:- Node.js (v25+)
- Bun
- Deno
- Cloudflare Workers
- Any environment supporting web standards
Web Standards First
Instead of runtime-specific APIs, Remix 3 leverages server-side web standards:Composable Architecture
Each package has a single responsibility and can be used standalone:- fetch-router - Minimal routing for the Fetch API
- session - Session management for JavaScript
- cookie - Cookie parsing and serialization
- form-data-parser - Streaming multipart form handling
- html-template - Safe HTML with auto-escaping
- data-table - Type-safe relational queries
Distributed Cohesively
While every package can be installed individually (e.g.,@remix-run/fetch-router), Remix is distributed as a single remix package for convenience:
Use Cases
Remix 3 excels at:Full-Stack Web Apps
Build server-rendered applications with routing, sessions, and form handling built-in.
RESTful APIs
Create type-safe REST APIs with composable middleware and resource-based routing.
Edge Functions
Deploy to Cloudflare Workers or other edge runtimes without code changes.
Microservices
Build portable services that run on any infrastructure.
Simple Example
Here’s a complete Remix 3 application:Next Steps
Installation
Install Remix 3 and set up your development environment
Quick Start
Build your first Remix 3 application in minutes
Core Concepts
Learn about routing, middleware, and composable architecture
Packages
Explore all available Remix 3 packages