New advertisers: 50% off your first month with code FIRSTMONTHSee slots
github avatar

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
View on GitHub

Install

$ npx -y skills add github/awesome-copilot --skill react18-dep-compatibility -y

Installs 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

PackageReact 17 (current)React 18.3.1 (min)React 19 (min)Notes
react17.x18.3.119.0.0Pin exactly to 18.3.1 for the R18 orchestra
react-dom17.x18.3.119.0.0Must 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

Similar to React18 Dep Compatibility

More Frontend & UI Code