React

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

Library
npm
v19.2.8
247,416stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
97/100Excellent
Development Activity96
Maintenance96
Community96
Maturity60
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
91/100Excellent
Architecture92
Code Quality95
Innovation90
Learning Curve85

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/reactReactHooks.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 380 apps in this directory

TypeScript
76%
AGPL 3.0

Abby

Developer Tools · Product Management

167

Statically typed feature flags, remote config, and A/B testing with framework-native SDKs for TypeScript teams.

View details
30
Repo Health
70
Technical
63
Dependency
Built with
TypeScript76%
MDX18%
Updated 1 years ago
TypeScript
99%
Other

Activepieces

Automation · AI Assistants

23,887

Open-source AI automation platform that converts 280+ workflow integrations into MCP servers for LLMs, with no-code builders and TypeScript extensibility.

View details
92
Repo Health
85
Technical
65
Dependency
Built with
TypeScript99%
Updated today
TypeScript
94%
MIT

Actual

Invoicing Finance

28,224

Local-first personal finance with envelope budgeting, end-to-end encryption, and multi-device sync — no subscription required.

View details
93
Repo Health
85
Technical
77
Dependency
Built with
TypeScript94%
Updated yesterday
TypeScript
88%
Other

AFFiNE

Productivity · Project Management · Note Taking

71,668

Write, draw, and plan in one infinite canvas — the open-source alternative to Notion and Miro that keeps your data yours.

View details
91
Repo Health
87
Technical
68
Dependency
Built with
TypeScript88%
Updated today
Python
66%
Apache 2.0

Agent Control

AI Agents

295

An open-source runtime control plane for AI agents — define safety guardrails once, apply them across agents built on LangChain, CrewAI, Google ADK, or AWS Strands, and update controls without redeploying code.

View details
79
Repo Health
71
Technical
70
Dependency
Built with
Python66%
TypeScript33%
Updated yesterday
Python
99%
MIT

Agent Lightning

AI Development

17,500

A Microsoft-built training framework that optimizes AI agents with reinforcement learning, automatic prompt optimization, or supervised fine-tuning — with near-zero code changes to your existing agent, in any framework.

View details
84
Repo Health
68
Technical
69
Dependency
Built with
Python99%
Updated today
TypeScript
59%
Other

agenta

Developer Tools · Devops · AI Development

4,489

The open-source LLMOps platform unifying prompt engineering, evaluation, and observability for teams building reliable LLM applications.

View details
91
Repo Health
77
Technical
67
Dependency
Built with
TypeScript59%
Python39%
Updated today
Rust
64%
Apache 2.0

agentgateway

AI Development · Developer Tools

4,420

An open source AI-native proxy that secures, observes, and governs agent-to-LLM, agent-to-tool, and agent-to-agent communication through MCP, A2A, and unified LLM routing.

View details
88
Repo Health
82
Technical
72
Dependency
Built with
Rust64%
Go24%
Updated yesterday
TypeScript
100%
Apache 2.0

agentic-inbox

AI Agents · Productivity

6,880

A self-hosted email client with an AI agent that reads your inbox, drafts replies automatically, and exposes full email operations over MCP — running entirely on Cloudflare Workers.

View details
32
Repo Health
74
Technical
77
Dependency
Built with
TypeScript100%
Updated 3 months ago

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

Search