Modern.js from ByteDance builds React sites and apps with Rsbuild, nested routes, SSR, SSG, RSC support, and integrated BFF patterns used in large internal products.
Overview
Modern.js is a React-centric framework meant to cover routing, data loading, rendering modes, and toolchain choices in one progressive stack. Teams can start with defaults resembling familiar React setups and adopt nested file routes, server rendering, static generation, or React Server Components as needs grow.
Rsbuild supplies the bundler layer with Rust-based performance goals documented in benchmark tracks. Built-in BFF support colocates backend functions with frontend code for simple RPC-style calls. CSS Modules, CSS-in-JS, and Tailwind paths are supported configuration-wise.
ByteDance uses Modern.js as a base for higher-level internal frameworks serving many web applications. Examples live in a separate modern-js-examples repository; roadmap and Discord community channels coordinate releases.
MIT licensing applies; credits note inspiration from create-react-app, Remix, and related tooling.
Key features
- Rsbuild-based React toolchain
- Nested file-based routes
- SSR SSG and RSC modes
- Integrated BFF development
- Zero-config quick start
- Plugin and config extensibility
- Example project collection
Use cases
- Enterprise React web apps
- Marketing sites with SSR
- Full-stack React prototypes