Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Spark
Build and deploy intelligent apps
GitHub Models
Manage and compare prompts
MCP Registry
New
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
reactjs
/
react.dev
Public
Notifications
You must be signed in to change notification settings
Fork
7.9k
Star
11.7k
Code
Issues
844
Pull requests
660
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Commits
Breadcrumbs
History for
react.dev
src
content
learn
keeping-components-pure.md
on
main
User selector
All users
All time
Commit History
Commits on Apr 9, 2026
fix: replace Imgur-hosted images with self-hosted assets (#8402)
Show description for abe931a
travisbreaks
and
Tadao
authored
abe931a
Copy full SHA for abe931a
Commits on Apr 8, 2026
Add no-trailing-spaces ESLint rule (#8356)
mattcarrollcode
authored
e377252
Copy full SHA for e377252
Commits on Sep 18, 2025
Restore lint corrections from #7989 (#7997)
Show description for 730d045
poteto
authored
730d045
Copy full SHA for 730d045
Revert "fix compiler errors (#7989)" (#7995)
Show description for 2a9ef2d
poteto
authored
2a9ef2d
Copy full SHA for 2a9ef2d
fix compiler errors (#7989)
Show description for 5cc9b7b
poteto
authored
5cc9b7b
Copy full SHA for 5cc9b7b
Commits on Jun 2, 2025
fix: use const where applicable in examples for keeping components pure (#7819)
ad1992
authored
e901790
Copy full SHA for e901790
Commits on Dec 15, 2023
Fix #6487 specify which `Sandpack` files go into a `src` directory (#6496)
Show description for bb65ace
geeseyj
authored
bb65ace
Copy full SHA for bb65ace
Commits on Mar 18, 2023
Move beta to top level
gaearon
committed
dd65dca
Copy full SHA for dd65dca
Loading
You can’t perform that action at this time.