The library for web and native user interfaces.

★ 252,627⑂ 52,744👁 6,644⑃ 20,701● 14,841▤ 137
JavaScriptMITCreated 2013-05-24react.dev
More from this author
Download: 19.3.1 (October 14th, 2026)19.3.1 ↓19.3.12026-10-14
+20
Daily
+735
Weekly
+1,567
Monthly
252,627
stars
52,744
forks
6,644
watchers
20,701
prs
14,841
issues
137
releases

README

React ·     

React is a JavaScript library for building user interfaces.

 Declarative: React makes it painless to create interactive UIs. Design simple views for each state in your application, and React will efficiently update and render just the right components when your data changes. Declarative views make your code more predictable, simpler to understand, and easier to debug.
 Component-Based: Build encapsulated components that manage their own state, then compose them to make complex UIs. Since component logic is written in JavaScript instead of templates, you can easily pass rich data through your app and keep the state out of the DOM.
 Learn Once, Write Anywhere: We don't make assumptions about the rest of your technology stack, so you can develop new features in React without rewriting existing code. React can also render on the server using Node and power mobile apps using React Native.

Learn how to use React in your project.

 Installation

React has been designed for gradual adoption from the start, and you can use as little or as much React as you need:

 Use Quick Start to get a taste of React.
 Add React to an Existing Project to use as little or as much React as you need.
 Create a New React App if you're looking for a powerful JavaScript toolchain.

 Documentation

You can find the React documentation on the website.

Check out the Getting Started page for a quick overview.

The documentation is divided into several sections:

 Quick Start
 Tutorial
 Thinking in React
 Installation
 Describing the UI
 Adding Interactivity
 Managing State
 Advanced Guides
 API Reference
 Where to Get Support
 Contributing Guide

You can improve it by sending pull requests to this repository.

 Examples

We have several examples on the website. Here is the first one to get you started:

jsx
import { createRoot } from 'react-dom/client';

function HelloMessage({ name }) {
  return Hello {name};
}

const root = createRoot(document.getElementById('container'));
root.render();


This example will render "Hello Taylor" into a container on the page.

You'll notice that we used an HTML-like syntax; we call it JSX. JSX is not required to use React, but it makes code more readable, and writing it feels like writing HTML.

 Contributing

The main purpose of this repository is to continue evolving React core, making it faster and easier to use. Development of React happens in the open on GitHub, and we are grateful to the community for contributing bugfixes and improvements. Read below to learn how you can take part in improving React.

 Code of Conduct

Facebook has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.

 Contributing Guide

Read our contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to React.

 Good First Issues

To help you g

Top issues

Latest release

19.3.1 (October 14th, 2026) v19.3.1 2026-10-14
React Server Components

- Improve transport protocol (37845 by @unstubbable and @eps1lon)

News & coverage (18)

Hacker NewsAsk HN: What are the “best” codebases that you've encountered?▲ 392 · 269 comments · 2019-07-29Hacker NewsAsk HN: Is it safe to use Facebook's open source projects?▲ 160 · 54 comments · 2015-02-26Hacker NewsTell HN: Apple rejecting cross platform apps (React Native, Flutter, Capacitor)▲ 90 · 12 comments · 2022-06-07Hacker NewsAsk HN: Is create-react-app no longer maintained?▲ 6 · 8 comments · 2023-01-18Hacker NewsWhy does React.js truf other innovations like Cycle.js?▲ 6 · 9 comments · 2015-07-26Hacker NewsShow HN: Payitfwd.dev – Redirect donors to your dependencies▲ 2 · 0 comments · 2022-09-15Hacker NewsAsk HN: Migrating away from React after license decision?▲ 2 · 1 comments · 2017-08-25Hacker NewsAsk HN: React.js and PATENTS clause. Can I please just stop worrying about this?▲ 2 · 5 comments · 2016-04-03Analytics Insight7 AI App Builders That Export Code to GitHub in 20262026-10-17githubGitHub for Beginners: Building a React App with GitHub Copilot2025-05-12
8 moreThe GitHub BlogImproving site performance by shipping more CSS2026-09-25Hostinger15 Most Popular GitHub Repos for Developers in 20262026-09-18Step Security7nohe/openapi-react-query-codegen Compromised Through an Exposed npm Publishing Workflow2026-08-28Open Source For YouGitHub-Trending Astryx Brings AI-Ready Open Source To React2026-07-17HostingerHow to deploy a React app in 6 steps2026-07-06Ars TechnicaAI costs how much? GitHub Copilot users react to new usage-based pricing system.2026-06-01The GitHub BlogThe uphill climb of making diff lines performant2026-04-03Yahoo FinanceOpenClawd Releases Major Platform Update as OpenClaw Surpasses React With 250,000 GitHub Stars2026-03-04

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON