
React18 Dep Compatibility
When you're upgrading to React 18.3.1 or React 19, this gives you the minimum compatible versions for everything in your dependency tree. It covers the obvious ones like testing-library and react-router, plus the less obvious gotchas like Apollo Client needing 3.8+ for useSyncExternalStore and react-redux v7 breaking in concurrent mode. The decision tree for handling peer dependency conflicts is genuinely helpful, and the guidance on when to actually use legacy-peer-deps (sparingly, with documentation) will save you from future pain. Treat this as your preflight checklist before npm install during a React upgrade.
- skills.sh installs
- 766
- GitHub stars
- 41K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add github/awesome-copilot --skill react18-dep-compatibility --agent claude-codeInstalls into .claude/skills of the current project.
Files
React Dependency Compatibility Matrix
Minimum versions required for React 18.3.1 and React 19 compatibility.
Use this skill whenever checking whether a dependency supports a target React version, resolving peer dependency conflicts, deciding whether to upgrade or use legacy-peer-deps, or assessing the risk of a react-router v5 to v6 migration.
Review this matrix before running npm install during a React upgrade and before accepting an npm dependency conflict resolution, especially where concurrent mode compatibility may be affected.
Core Upgrade Targets
| Package | React 17 (current) | React 18.3.1 (min) | React 19 (min) | Notes |
|---|---|---|---|---|
react | 17.x | 18.3.1 | 19.0.0 | Pin exactly to 18.3.1 for the R18 orchestra |
react-dom | 17.x | 18.3.1 | 19.0.0 | Must match react version exactly |
Testing Libraries
Sponsors
Details
- Repository
- github.com/github/awesome-copilot
- Categories
- Frontend Development, Git & Pull Requests, AI & Agent Building
- First seen
- May 16, 2026
More from github/awesome-copilot
All 318- 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
- Azure Well Architected Review
- Bug Reproduction Brief
- Incident Postmortem
- Mcp Implementation Security Review
- Pester Migration
- Tm7 Threat Model
- Git Commit48.4K
- Excalidraw Diagram Generator34.4K
- Multi Stage Dockerfile31.5K