Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Build Better Websites. Create modern, resilient user experiences with web fundamentals.

License

NotificationsYou must be signed in to change notification settings

remix-run/remix

Repository files navigation

This is the source repository for Remix 3. It is under active development.

We publisheda blog post earlier this year with some of our thoughts around Remix 3. It explains our philosophy for web development and why we think the time is right for something new. When working on Remix 3, we follow these principles:

  1. Model-First Development. AI fundamentally shifts the human-computer interaction model for both user experience and developer workflows. Optimize the source code, documentation, tooling, and abstractions for LLMs. Additionally, develop abstractions for applications to use models in the product itself, not just as a tool to develop it.
  2. Build on Web APIs. Sharing abstractions across the stack greatly reduces the amount of context switching, both for humans and machines. Build on the foundation of Web APIs and JavaScript because it is the only full stack ecosystem.
  3. Religiously Runtime. Designing for bundlers/compilers/typegen (and any pre-runtime static analysis) leads to poor API design that eventually pollutes the entire system. All packages must be designed with no expectation of static analysis and all tests must run without bundling. Because browsers are involved,--import loaders for simple transformations like TypeScript and JSX are permissible.
  4. Avoid Dependencies. Dependencies lock you into somebody else's roadmap. Choose them wisely, wrap them completely, and expect to replace most of them with our own package eventually. The goal is zero.
  5. Demand Composition. Abstractions should be single-purpose and replaceable. A composable abstraction is easy to add and remove from an existing program. Every package must be useful and documented independent of any other context. New features should first be attempted as a new package. If impossible, attempt to break up the existing package to make it more composable. However, tightly coupled modules that almost always change together in both directions should be moved to the same package.
  6. Distribute Cohesively. Extremely composable ecosystems are difficult to learn and use. Remix will be distributed as a singleremix package for both distribution and documentation.

Goals

Although we recommend theremix package for ease of use, all packages that make up Remix should be usable standalone as well. This forces us to consider package boundaries and helps us define public interfaces that are portable and interopable.

Each package in Remix:

  • Has asingle responsibility
  • Prioritizes web standards to ensure maximum interoperability and portability across JavaScript runtimes
  • Augments standards unobtrusively where they are missing or incomplete, minimizing incompatibility risks

This means Remix code isportable by default. Remix packages work seamlessly acrossNode.js,Bun,Deno,Cloudflare Workers, and other environments.

We leverage server-side web APIs when they are available:

The benefit is code that's not just reusable, butfuture-proof.

Packages

We currently publish the following packages:

  • fetch-proxy: Seamlessly construct HTTP proxies with the familiarfetch() API
  • fetch-router: A minimal, composable router built on the web Fetch API androute-pattern.
  • file-storage: Robust key/value storage tailored for JavaScriptFile objects, simplifying file management
  • form-data-parser: An enhancedrequest.formData() wrapper enabling efficient, streaming file uploads
  • headers: A comprehensive toolkit for effortlessly managing HTTP headers
  • interaction: Semantic, declarative events and Interactions
  • lazy-file: Optimize performance with lazy-loaded, streamingBlobs andFiles for JavaScript
  • multipart-parser: High-performance, streaming parser for multipart messages, perfect for handling complex form data
  • node-fetch-server: Build Node.js HTTP servers using the web-standardfetch() API, promoting code consistency
  • route-pattern: A powerful and flexible URL pattern matching library
  • tar-parser: A fast, streaming parser for tar archives, designed for efficient data extraction

Contributing

We welcome contributions! If you'd like to contribute, please feel free to open an issue or submit a pull request. SeeCONTRIBUTING for more information.

License

SeeLICENSE

About

Build Better Websites. Create modern, resilient user experiences with web fundamentals.

Resources

License

Contributing

Stars

Watchers

Forks

Contributors743


[8]ページ先頭

©2009-2025 Movatter.jp