React

The declarative, component-based JavaScript library for building fast, interactive user interfaces on the web and in native apps.

Library
npm
v19.3.0
250,786 stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
98 /100 Excellent
Development Activity 100
Maintenance 96
Community 96
Maturity 60
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
91 /100 Excellent
Architecture 92
Code Quality 95
Innovation 90
Learning Curve 85

React is Meta’s JavaScript library for building user interfaces out of small, composable components. Instead of manually mutating the DOM, you describe what the UI should look like for a given state and React efficiently computes and applies the minimal set of updates, using a fiber-based reconciler and a cooperative scheduler so rendering work can be prioritized and interrupted without blocking the browser.

Because the core react package only defines the component and hooks model, the same code can target very different renderers: react-dom for the browser, react-native-renderer for native apps, and custom renderers built on react-reconciler. This split, plus first-class support for concurrent features, Suspense, and (with the newer React Compiler) automatic memoization, is what has kept React the default choice for teams building anything from a single interactive widget to a full application shell.

What You Get

  • The core react package (createElement, hooks like useState/useEffect/useTransition, Suspense, act) that defines components independent of any renderer.
  • Official renderers — react-dom for the web and react-native-renderer for native — plus react-reconciler for building custom renderers.
  • The scheduler package’s cooperative, priority-based work loop that powers concurrent rendering and keeps the main thread responsive.
  • An experimental React Compiler (in compiler/) that auto-memoizes components at build time, reducing the need for manual useMemo/useCallback.

Common Use Cases

  • Building interactive single-page or multi-page web UIs, typically paired with a bundler or meta-framework like Next.js.
  • Powering cross-platform mobile apps via React Native using the same component model.
  • Rendering server-driven UI (React Server Components / streaming SSR) through react-server and the various react-server-dom-* packages.
  • Authoring custom, non-DOM renderers (canvas, terminal, PDF, etc.) on top of react-reconciler.

Under The Hood

Architecture The monorepo separates the public API package (packages/react — ReactHooks.js, ReactBaseClasses.js, ReactChildren.js, ReactContext.js, jsx-runtime.js) that exposes createElement/hooks and delegates all stateful work to a global “current dispatcher” (ReactSharedInternals) so it stays agnostic of render target; the actual fiber-tree reconciliation and work scheduling lives in packages/react-reconciler, which is instantiated per host by packages/react-dom, react-native-renderer, and react-test-renderer via a “host config” interface, while packages/scheduler provides a cooperative, priority-based work loop (built on MessageChannel/timers) that the reconciler yields to for concurrent rendering; cross-cutting primitives (symbols, ReactTypes, feature flags) sit in packages/shared and are imported by every other package.

Tech Stack The repo is a Yarn workspaces monorepo (workspaces: ["packages/*"], yarn.lock) whose root package.json is private and pulls in a Babel toolchain (@babel/core, numerous plugin-transform-*) plus Rollup plugins (@rollup/plugin-babel, -commonjs, -node-resolve, -replace, -typescript) for bundling; source is still primarily Flow-typed (@flow pragmas, flow-typed.config.json) with an active migration toward TypeScript, and Jest drives testing across two separate CI workflows (runtime_build_and_test.yml, compiler_typescript.yml). A newer compiler/ directory houses the React Compiler, whose implementation is roughly a quarter Rust by byte count alongside the JS/TS runtime.

Code Quality Tests are extensive and colocated — packages/react/src/__tests__ alone holds 25 files, with thousands more across the other 40 packages — and internal invariants are enforced with __DEV__-gated console.error calls that link straight to react.dev documentation (see resolveDispatcher in ReactHooks.js) rather than throwing in hot paths. Naming is consistent (ReactXxx.js), and inline comments frequently explain non-obvious tradeoffs (e.g. why an error is logged instead of thrown, to keep a function inlinable).

API Design The public surface is deliberately small — a handful of top-level exports (createElement, useState, useEffect, etc.) plus dedicated subpath entry points (react/jsx-runtime, react/jsx-dev-runtime, react/compiler-runtime) so bundlers only pull in what’s used. Hooks read as plain function calls with no required boilerplate, dev-mode invariant violations produce actionable, documentation-linked error messages, and the canonical getting-started snippet is a single createRoot(...).render(<X/>) call shown directly in the README.

Used by 651 apps in this directory

TypeScript
64%
MIT

web-check

Developer Tools · Security

34,938

All-in-one OSINT dashboard that dissects any website's IP, SSL, DNS, headers, cookies, ports, trackers, and more in a single scan.

View details
82
Repo Health
75
Technical
71
Dependency
Built with
TypeScript 64%
JavaScript 24%
Updated 6 days ago
TypeScript
85%
Other

Webiny JS

Blogging · CMS · Ecommerce

8,048

Open-source, self-hosted CMS on AWS serverless — a TypeScript framework you extend with code, not a product you configure through a UI.

View details
90
Repo Health
86
Technical
62
Dependency
Built with
TypeScript 85%
JavaScript 13%
Updated 6 days ago
TypeScript
85%
Other

Webiny JS

Blogging · CMS · Ecommerce

8,048

Open-source, self-hosted CMS on AWS serverless — a TypeScript framework you extend with code, not a product you configure through a UI.

View details
90
Repo Health
86
Technical
62
Dependency
Built with
TypeScript 85%
JavaScript 13%
Updated 6 days ago
TypeScript
99%
AGPL 3.0

Webstudio

Design Tools · No Code Platforms

8,998

Open source visual development platform with complete CSS control, headless CMS integration, and full infrastructure ownership

View details
90
Repo Health
79
Technical
61
Dependency
Built with
TypeScript 99%
Updated 1 weeks ago
TypeScript
96%
GPL 3.0

Wire

Collaboration · Team Chat · Video Conferencing

1,192

Open source end-to-end encrypted messaging for teams and enterprises — self-host for complete control over your communications and data.

View details
93
Repo Health
8
Technical
71
Dependency
Built with
TypeScript 96%
Updated 6 days ago
TypeScript
96%
GPL 3.0

Wire

Collaboration · Team Chat · Video Conferencing

1,192

Open source end-to-end encrypted messaging for teams and enterprises — self-host for complete control over your communications and data.

View details
93
Repo Health
8
Technical
71
Dependency
Built with
TypeScript 96%
Updated 6 days ago
TypeScript
65%
AGPL 3.0

Worklenz

Collaboration · Product Management · Project Management

3,191

All-in-one open source project management for teams who want full control — plan projects, track tasks, manage resources, and monitor finances without the SaaS lock-in.

View details
86
Repo Health
7
Technical
64
Dependency
Built with
TypeScript 65%
JavaScript 23%
Updated 6 days ago
TypeScript
51%
Other

World Monitor

Analytics · Monitoring

87,476

Real-time global intelligence dashboard that fuses AI-synthesized news, geopolitical risk scoring, and infrastructure tracking into one open-source situational awareness platform.

View details
87
Repo Health
89
Technical
68
Dependency
Built with
TypeScript 51%
JavaScript 47%
Updated 5 days ago
TypeScript
41%
MIT

YuE2 Studio

Mcp · Music Audio

413

Windows desktop studio that runs the YuE2 song model on your own NVIDIA GPU: it writes an editable sheet-music score first, then sings it as a full song with vocals, offline, with covers, LoRA training and an MCP server for agents.

View details
71
Repo Health
83
Technical
76
Dependency
Built with
TypeScript 41%
Rust 36%
JavaScript 21%
Updated today

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers