GitShow/facebook/react
react

react

The library for web and native user interfaces.

by react
declarativefrontendjavascriptlibraryreactui
Star on GitHubForkWebsitenpm

JavaScript

249.1k stars51.3k forks2.0k contributorsActive · 1d agoSince 2013v19.2.8MIT

Meet the team

See all 2005 on GitHub →
sebmarkbage
sebmarkbage1.9k contributions
zpao
zpao1.8k contributions
gaearon
gaearon1.7k contributions
acdlite
acdlite1.4k contributions
sophiebits
sophiebits1.3k contributions
josephsavona
josephsavona1.2k contributions
poteto
poteto818 contributions
eps1lon
eps1lon474 contributions

Languages

View on GitHub →
JavaScript49.6%
Rust25.9%
TypeScript22.4%
HTML1%
CSS0.8%
CoffeeScript0.2%
Other0.1%

Commit activity

Last 12 weeks · 168 commits

Full graph →

Community health

5 of 6 standards met

Community profile →
100
✓README✓License✓Contributing✓Code of Conduct○Issue Template✓PR Template

Recent PRs & issues

Active · Last activity 1d ago
See all on GitHub →
ArnaudBarre
Support `module.property.useHook()` in Fast RefreshOpenPR

Summary Fixes https://github.com/vitejs/vite-plugin-react/issues/1006 I'm not sure a lot of users do nest hooks at the second level, but the added complexity to the Babel plugin fells low enough to add support to it. Before this change, the signature for the test would have been which would force reset on HMR.

ArnaudBarre · 4h ago
Matthew-Goldberg
Autofocus Text puts cursor at end instead of beginningOpenIssue

Do you want to request a feature or report a bug? Bug What is the current behavior? In React 16, a text input with a value and autofocus will set the cursor at the _end_ of the input. `` If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your JSFiddle (https://jsfiddle.net/Luktwrdm/) or CodeSandbox (https://codesandbox.io/s/new) example below: See the React 16 repro here: https://codepen.io/matthewg0/pen/XymjYo What is the expected behavior? In React 15, and in plain HTML, the behavior is that the cursor is placed at the _start_ of the input. React 15: https://codepen.io/matthewg0/pen/NEGRzv Plain HTML: https://codepen.io/matthewg0/pen/wQKoap Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?** Reproduces as of React 16. Worked as expected in React 15.

Matthew-Goldberg · 6h ago
saddambaialiev
feat: Add opt-out for React DevTools download log message (#24283)OpenPR

Summary Adds an official opt-out mechanism to suppress the "Download the React DevTools for a better development experience" console message. Fixes #24283. Approach The fix introduces a property on the pre-existing object. When set to before React loads: 1. The DevTools download prompt in / is skipped via a new guard. 2. A bare placeholder hook with only does not trigger the legacy "DevTools too old" warning in — the reconciler recognizes it as an intentional suppression flag, not an unsupported hook. 3. Real hooks that set still inject and function normally. This avoids the brittle workaround of fully overriding which can break DevTools entirely. Usage Place this before any React script on the page. Changed Files Test Results — PASS: 20 tests passed (including 2 new) — PASS: 3 tests passed — No whitespace errors

saddambaialiev · 7h ago
Structured data for AI agents

Repository: react/react. Description: The library for web and native user interfaces. Stars: 249114, Forks: 51286. Primary language: JavaScript. Languages: JavaScript (49.6%), Rust (25.9%), TypeScript (22.4%), HTML (1%), CSS (0.8%). License: MIT. Homepage: https://react.dev Topics: declarative, frontend, javascript, library, react, ui. Latest release: v19.2.8 (1mo ago). Open PRs: 100, open issues: 1242. Last activity: 1d ago. Community health: 100%. Top contributors: sebmarkbage, zpao, gaearon, acdlite, sophiebits, josephsavona, poteto, eps1lon, jimfb, trueadm and others.

·@ofershap

Replace github.com with gitshow.dev