# web-infra-dev/modern.js

A progressive web framework based on React and Rsbuild.

Repository: https://github.com/web-infra-dev/modern.js
Canonical: https://ross.abutalabs.com/products/modernjs
Homepage: https://modernjs.dev/
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, framework, boilerplate, build-tool, website, ssr, web, rspack, webpack
Last push: 2026-08-26T18:06:42+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 85, longevity 100
- inputs: {"age_days": 1888, "days_push": 7, "days_rel": 20, "gap_med": 6, "n_releases_24m": 106}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5039, forks 418 (observed 2026-08-28T04:09:08.782266+00:00)

## What it is
Modern.js is a progressive React web framework from ByteDance built on the Rust-based Rspack/Rsbuild toolchain. It provides file-based nested routing, SSR/SSG/RSC rendering modes, integrated BFF development, and built-in CSS solutions with zero-to-full configurability.

## Use cases
- build a React app with server-side rendering
- create a React app with file-based routing
- build a full-stack React app with a BFF layer
- generate a static site from React components
- speed up React builds with a Rust bundler
- build a React app with React Server Components
- scaffold a production React web application

## When to choose
- you want an all-in-one React framework with SSR, SSG, and RSC support out of the box
- you need faster build times via Rspack/Rsbuild instead of webpack
- you want integrated BFF development in the same project as the frontend
- you are building React applications at scale, especially in a ByteDance-style ecosystem

## When to avoid
- you prefer the larger ecosystem and community of Next.js
- your project is not React-based
- you need a minimal setup without framework conventions
- you rely on plugins or tooling specific to Vite or webpack ecosystems

## Facets
- artifact type: framework
- maturity: active
- function: web-framework, ssr, static-site-generator, routing, build-tool, middleware, state-management, form-handling
- domain: web-development, frontend, backend, developer-tools
- platform: cross-platform
- tags: react, rspack, rsbuild, bundler, bff, react-server-components, ssg, file-based-routing, tailwind-css, typescript, nodejs, web-server

## Member repositories
- web-infra-dev/modern.js (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:08.782266+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:17:24.862773+00:00, confidence not recorded.
  - readme: https://github.com/web-infra-dev/modern.js (fetched 2026-08-28T04:09:08.782266+00:00, sha d6176ed67b89)
  - homepage: https://modernjs.dev/ (fetched 2026-08-29T08:58:18.561571+00:00, sha b259fb456236)
  - site_page: https://modernjs.dev/guides/basic-features/routes/routes (fetched 2026-08-29T08:58:18.734758+00:00, sha bddd0d70ba3f)
  - site_page: https://modernjs.dev/guides/basic-features/render/ssr (fetched 2026-08-29T08:58:18.777359+00:00, sha f457af6b7563)
  - site_page: https://modernjs.dev/guides/basic-features/css/css (fetched 2026-08-29T08:58:18.832955+00:00, sha 6137eadb9f00)
  - site_page: https://modernjs.dev/guides/advanced-features/bff (fetched 2026-08-29T08:58:18.933945+00:00, sha 689cfbc7dfd8)
  - site_page: https://modernjs.dev/v2 (fetched 2026-08-29T08:58:18.629665+00:00, sha 02ffb7843cdf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
