GitShow/facebook/react
react

react

The library for web and native user interfaces.

by react
declarativefrontendjavascriptlibraryreactui
Star on GitHubForkWebsitenpm

JavaScript

247.2k stars51.2k forks2.0k contributorsActive · 14h agoSince 2013v19.2.8MIT

Meet the team

See all 1998 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
eps1lon462 contributions

Languages

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

Commit activity

Last 12 weeks · 157 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 14h ago
See all on GitHub →
SparshGarg999
[DevTools] Gracefully handle missing nodes during child reordersOpenPR

React DevTools Store walks operations array and can throw an uncaught error: This desync occurs when elements are filtered or unmounted, but a reorder operation for their children is still processed. Throwing an uncaught error in the bridge listener crashes the entire DevTools extension panel, rendering it unusable. This change modifies and cases in to gracefully skip the reordering operation (by advancing the pointer past the child IDs) instead of throwing an error. How did you test this change? Verified that it does not crash when receiving operations for missing/filtered nodes in desynced states. Ran DevTools Jest test suite:

SparshGarg999 · 3h ago
SparshGarg999
fix(devtools): reset active profiling session duration on unmount (#37264)OpenPR

Fixes #37264 Context & Problem During active React DevTools Profiler sessions, when components unmounted mid-recording, the profiler retained stale commit timestamps for unmounted Fiber nodes. This resulted in cumulative timing distortions in the Profiler flame chart and ranked charts, displaying inflated render durations for components that were no longer mounted. Solution & Changes Updated component unmount event handling in to recalculate and finalize active profiling session durations at unmount time. Ensures unmounted Fibers clear their transient duration state so subsequent commits accurately measure active components only. Testing & Verification Verified flame chart and ranked chart render times when components unmount dynamically during an active profiling recording.

SparshGarg999 · 4h ago
SparshGarg999
fix(devtools): handle null AST nodes in hook name parser (#37261)OpenPR

Fixes #37261 Context & Problem When React DevTools inspects custom hook chains on complex components, the hook name parser walks the JavaScript AST to resolve named functions and custom hook calls. In components utilizing conditional hook patterns or transpiled code with sparse AST nodes, encountering a or unhandled AST node caused DevTools to throw an unhandled during hook inspection, preventing component trees from rendering in the DevTools panel. Solution & Changes Added explicit and guards to AST node traversal loops in . Implemented fallback safety bounds during AST node parent traversal so unhandled node types safely return fallback names without breaking tree inspection. Testing & Verification Verified hook name resolution against custom hook chains containing conditional expressions, optional chaining, and null AST nodes.

SparshGarg999 · 4h ago

Recent fixes

View closed PRs →
MuhammadNiazAli
Clean up README by removing JSX and contributing sectionsMergedPR

Removed unnecessary explanation about JSX and contributing. Summary How did you test this change?

MuhammadNiazAli · 2h ago
Structured data for AI agents

Repository: react/react. Description: The library for web and native user interfaces. Stars: 247239, Forks: 51230. Primary language: JavaScript. Languages: JavaScript (49.5%), 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 (3w ago). Open PRs: 100, open issues: 1150. Last activity: 14h 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