📜  酶适配器反应 17 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:21.436000             🧑  作者: Mango

代码示例5
step by step how to fix enzyme-adapter-react-16  not support for React version 17


step one : npm i npm-install-peers -g
step two copy this : 
"peerDependencies": {
    "react": "^16.13.1",
    "react-dom": "^16.13.1"
}
step three: typing in your terminal npm-install-peers