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" />);This release focuses on security improvements for React Server Components and Server Actions with enhanced DoS protection measures.
- –Add more DoS mitigations to Server Actions, and harden Server Components
This release adds enhanced loop protection for React Server Functions to improve stability and prevent infinite loops.
- –Add extra loop protection to React Server Functions
This release focuses on React Server Components improvements, including package reorganization and Promise handling fixes for Server Functions.
- –Move react-server-dom-webpack/*.unbundled to private react-server-dom-unbundled
- –Patch Promise cycles and toString on Server Functions
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.