
React19 Source Patterns
github/awesome-copilotOfficial
A migration reference for upgrading React codebases to version 19, covering every breaking API change at the source file level. You get a quick lookup table for the common replacements (ReactDOM.render to createRoot, forwardRef as direct props, defaultProps to ES6 defaults) plus links to full before/after code for edge cases. Smart call keeping the PropTypes note, since people still use that package standalone even though React stopped validating it. If you're doing a React 19 upgrade and hitting deprecation warnings, this gives you the exact syntax changes without digging through release notes.
- skills.sh installs
- 993
- GitHub stars
- 41K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add github/awesome-copilot --skill react19-source-patterns --agent claude-codeInstalls into .claude/skills of the current project.
Files
React 19 Source Migration Patterns
Reference for every source-file migration required for React 19.
Quick Reference Table
| Pattern | Action | Reference |
|---|---|---|
ReactDOM.render(...) | → createRoot().render() | See references/api-migrations.md |
ReactDOM.hydrate(...) | → hydrateRoot(...) | See references/api-migrations.md |
unmountComponentAtNode | → root.unmount() | Inline fix |
ReactDOM.findDOMNode | → direct ref | Inline fix |
forwardRef(...) wrapper | → ref as direct prop | See references/api-migrations.md |
Component.defaultProps = {} | → ES6 default params | See references/api-migrations.md |
useRef() no arg | → useRef(null) | Inline fix add null |
| Legacy Context | → createContext | → api-migrations.md#legacy-context |
String refs this.refs.x | → createRef() | → api-migrations.md#string-refs |
import React from 'react' (unused) | Remove | Only if no React. usage in file |
PropTypes Rule
Sponsors
Promote your product hereReach 125k+ visitors monthlyPromote your product hereReach 125k+ visitors monthly
Agent CaffeineSponsoredClose your lid, come back to finished work
SnugSponsoredThe clipboard manager for the AI eraPromote your product hereReach 125k+ visitors monthly
WaxSponsoredBlock anything with supervision, without erasing your iPhonePromote your product hereReach 125k+ visitors monthly
knobsSponsoredSee your site on any phone, any day, in any language
Details
- Repository
- github.com/github/awesome-copilot
- Categories
- Frontend Development, Backend & APIs, Git & Pull Requests, AI & Agent Building
- First seen
- May 16, 2026
More from github/awesome-copilot
All 318- Python Pypi Package Builder950
- Salesforce Apex Quality885
- React Audit Grep Patterns884
- Salesforce Flow Design839
- Github Release790
- Flowstudio Power Automate Monitoring787
- Flowstudio Power Automate Governance779
- Salesforce Component Standards770
- React18 Dep Compatibility766
- React18 Batching Patterns756
- React18 Legacy Context747
- From The Other Side Vega746
- React18 Lifecycle Patterns745
- React18 String Refs743
- React18 Enzyme To Rtl742
- Code Tour739
- Linkedin Post Formatter361
- Ui Screenshots212
- Data Breach Blast Radius110
- Sql Server Table Reconciliation104
- Aws Cloudwatch Investigation
- Aws Cost Optimize
- Aws Resource Health Diagnose
- Aws Well Architected Review
Recommended
More Frontend Development1
video-comparerdaymade/claude-code-skillsThis skill should be used when comparing two videos to analyze compression results or quality differences. Generates interactive HTML reports with quality metri990skills.sh installs
2
compose-state-deferred-readschrisbanes/skillsUse when Jetpack Compose code reads scroll, animation, gesture, or other frame-rate State in composition, passes changing values across composable boundaries, u989skills.sh installs
3
cicd-pipeline-generatorailabs-393/ai-labs-claude-skillsThis skill should be used when creating or configuring CI/CD pipeline files for automated testing, building, and deployment. Use this for generating GitHub Acti982skills.sh installs
4
langchaindavila7/claude-code-templatesFramework for building LLM-powered applications with agents, chains, and RAG. Supports multiple providers (OpenAI, Anthropic, Google), 500+ integrations, ReAct 969skills.sh installs
5
capacitor-mcpcap-go/capgo-skillsModel Context Protocol (MCP) tools for Capacitor mobile development. Covers Ionic/Capacitor component APIs, plugin documentation, CLI commands, and AI-assisted 961skills.sh installs
6
presentation-creatormblode/agent-skillsCreates bold, minimal, dark-first presentations with structured narrative arcs, punchy slide copy, high-contrast visual design, and conversational speaker notes960skills.sh installs