前端开发

react18-dep-compatibility

github/awesome-copilot

React 18.3.1 and React 19 dependency compatibility matrix.

  • 764 次安装
  • 4.1万 星标
  • 收录于

安装命令

npx skills add https://github.com/github/awesome-copilot --skill react18-dep-compatibility

SKILL.md

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