
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
- 767
- GitHub stars
- 41.4K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add github/awesome-copilot --skill react18-dep-compatibility -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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
Details
- Repository
- github.com/github/awesome-copilot
- Categories
- Frontend & UI Code, Debugging
- First seen
- May 16, 2026
More from github/awesome-copilot
All 293- React18 Batching Patterns757
- React18 Legacy Context749
- Code Tour748
- From The Other Side Vega746
- React18 Lifecycle Patterns746
- React18 String Refs744
- React18 Enzyme To Rtl743
- Linkedin Post Formatter362
- Ui Screenshots216
- Data Breach Blast Radius110
- Sql Server Table Reconciliation106
- 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.7K
- Excalidraw Diagram Generator34.6K
- Multi Stage Dockerfile31.7K
Similar to React18 Dep Compatibility
More Frontend & UI Code
react19-source-patternsgithub/awesome-copilot995 installsMigration reference covering React 19 source-file changes, from ReactDOM API updates to ref and context rewrites.
react19-concurrent-patternsgithub/awesome-copilot1.1K installsPreserves React 18 concurrent patterns during migration, then adopts React 19 APIs in a later cleanup.
dependency-upgradesickn33/agentic-awesome-skills252 installsStructured guide for planning major dependency upgrades, covering audits, compatibility matrices, staged rollouts, codemods, and layered testing.
react-modernizationwshobson/agents13.2K installsUpgrade guide for React apps covering version migrations, class-to-hooks conversion, and concurrent features.
upgrade-react-nativereact-native-community/skills1.3K installsStep-by-step procedure that upgrades a React Native project by applying the official version diff.