React preview
react

React

JavaScript library for building user interfaces

244.6k|stable|v19.2.5
import { createRoot } from 'react-dom/client'; function HelloMessage({ name }) { return <div>Hello {name}</div>; } const root = createRoot(document.getElementById('container')); root.render(<HelloMessage name="Taylor" />);
Declarative component syntax — Write UIs by describing each state, letting React handle efficient updates.
Component-based architecture — Build encapsulated components with their own state, composable into complex interfaces.
Cross-platform rendering — Render on the server with Node, desktop with Electron, or mobile with React Native.
JSX markup — Write HTML-like syntax directly in JavaScript for more readable component definitions.
React is the foundational UI library powering millions of web applications. It lets you build interfaces by thinking in components and describing what each state should look like. The ecosystem around React—tooling, frameworks, and extensions—is unmatched in scale.
Node 14.0 or higher recommended
Source on GitHub
pavilion