repowisefacebook/react

facebook / react

★ 250,921

github.com/facebook/reactIndexed at 733d3aaBehind upstream

What is react?

react is a JavaScript library for building user interfaces. It creates interactive views from components and updates the rendered output when application data changes. React uses JavaScript and supports JSX, with rendering through React DOM, server rendering with Node, and mobile apps through React Native.

Written by a model from the README and the source

Code health

Health scores land with the first index: complexity, duplication, coverage, churn and ownership across every file.

Use facebook/react in your agent

Point Claude Code, Cursor, Codex or VS Code at this repository. Your agent gets the index this page is built from: cited answers, callers, history and health for any file.

  1. 1.In Claude, open Customize → Connectors, click +, then Add custom connector. On a Team or Enterprise plan an owner adds it first under Organization settings → Connectors.
  2. 2.Paste the server URL below as the Remote MCP server URL, then click Add.
  3. 3.Click Connect. A Repowise sign-in window opens. Approve access.
  4. 4.Repowise's tools are now available in your Claude chats.

Connect with one click. Sign in with Repowise (OAuth), no API key to copy. Works in Claude on the web, desktop, and mobile.

Docs
bash
https://api.repowise.dev/mcp/facebook/react
Editors need an API key: sign in to create one.Sign in to connect

This repo is public, so anyone with a Repowise account and an API key can connect.

Try asking

  • get_overview()
  • get_answer("how is react put together?")
  • get_why("why is react structured this way?")

Explore react

Key features of react

  • React provides declarative views that describe the UI for each application state and update the right components when data changes.
  • React uses encapsulated, component-based UI units that manage their own state and can be composed into complex interfaces.
  • React lets component logic use JavaScript and pass rich data through an application instead of keeping state in the DOM.
  • React can be adopted gradually in an existing project.
  • React can render on the server using Node and power mobile apps using React Native.

How facebook/react works

Input enters React through component definitions and data passed to those components. Components describe the UI for each application state, and React updates the rendered output when data changes. The example uses createRoot from react-dom/client to connect React to a page container. The root.render call renders a HelloMessage component into that container. JSX provides an HTML-like syntax for writing component output, but React can also be used without JSX.

facebook/react FAQ

What is react?

react is a JavaScript library for building user interfaces. It uses components and declarative views to create interactive application interfaces.

How does react work?

react describes UI states with components and updates the rendered output when data changes. React DOM can render a component tree into a page container.

What language is react written in?

react uses JavaScript for component logic and supports JSX for an HTML-like component syntax.

Who is react for?

react is for developers building user interfaces and interactive applications. It supports gradual adoption in existing projects.

What license does react use?

react uses the MIT license.

The summary, features and answers on this page are written by a model from the README and the source, and refreshed with each index.

About this page

Get a page like this for your own codebase

Repowise built this map of facebook/react from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.

Index your repo freeSee how Repowise worksFree for 2 public repos, with a page like this one.

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed.