The library for web and native user interfaces
open sourceMITself-hostablefree
React is a JavaScript library for building user interfaces from components: you describe what each component shows for a given state, and React updates the page when the data changes. Components keep their own state and compose into whole apps, written in JavaScript (usually JSX) rather than templates. It can be adopted gradually in an existing page, renders on the server with Node, and powers mobile apps through React Native. Since February 2026 it's governed by the React Foundation under the Linux Foundation.
Problems it solves
- build an interactive web interface without manipulating the DOM by hand
- split a complex UI into reusable pieces that each manage their own state
- add one interactive widget to an existing server-rendered page
- keep the page in sync with changing data without bugs
- render the same components on the server for faster first loads
- share UI code between a web app and a mobile app
- the most widely used way to build a front end, with the biggest pool of developers and libraries
Features
- declarative components
- component state
- JSX
- server rendering
- gradual adoption
- React Native for mobile
Alternatives
The same job
These do what React does.
