React: JavaScript library for building user interfaces
Component-based library using virtual DOM for efficient UI rendering.
Learn more about react
React is a JavaScript library for constructing user interface components using a declarative approach. It uses a virtual DOM abstraction to track changes and apply updates to the actual DOM, rendering only the components affected by data changes. The library supports component composition through JavaScript functions and classes, allowing developers to build encapsulated, reusable UI elements. React can render on the server using Node.js and also powers mobile applications through React Native, enabling code reuse across web and native platforms.
Declarative UI Rendering
Developers describe target UI states rather than writing imperative DOM manipulation code. React automatically reconciles changes through a virtual DOM diff algorithm, making state transitions predictable and reducing UI bugs.
Component-Based Architecture
Encapsulated components manage local state and compose into complex interfaces using JavaScript instead of template languages. Rich data flows through props while component logic remains reusable and testable in isolation.
Cross-Platform Rendering
Same component logic renders server-side via Node.js or as native mobile UI through React Native. Eliminates duplicate implementations across web and mobile platforms while maintaining platform-specific optimizations.
import React from 'react';
import { createRoot } from 'react-dom/client';
function Welcome({ name }) {
return <h1>Hello, {name}!</h1>;
}
const root = createRoot(document.getElementById('root'));
root.render(<Welcome name="World" />);19.2.4 (January 26th, 2026)
- –Add more DoS mitigations to Server Actions, and harden Server Components (#35632 by @gnoff, @lubieowoce, @sebmarkbage, @unstubbable)
19.1.4 (December 11th, 2025)
- –Add extra loop protection to React Server Functions (@sebmarkbage #35351)
19.2.2 (December 11th, 2025)
- –Move `react-server-dom-webpack/*.unbundled` to private `react-server-dom-unbundled` (@eps1lon
- –Patch Promise cycles and toString on Server Functions (@sebmarkbage, @unstubbable #35289, #35345)
See how people are using react
Top in Frontend
Related Repositories
Discover similar tools and frameworks used by developers
Font-Awesome
Scalable vector icon library with multiple rendering formats.
Nitter
Privacy-focused Twitter front-end that removes tracking and serves content via lightweight proxy.
material-ui
Production-ready React components with comprehensive theming system.
OpenCut
Timeline-based browser video editor with multi-track support.
Redux
JavaScript library for predictable global state management using a single store and pure functions.