Closed korywka closed 4 years ago
=> Found "react-hot-loader@4.3.6"
info Reasons this module exists
- "docz-plugin-css#docz-core" depends on it
- Hoisted from "docz-plugin-css#docz-core#react-hot-loader"
info Disk size without dependencies: "152KB"
info Disk size with unique dependencies: "480KB"
info Disk size with transitive dependencies: "880KB"
info Number of shared dependencies: 10
=> Found "docz#react-hot-loader@4.7.0"
info Reasons this module exists
- "docz#docz-core" depends on it
- Hoisted from "docz#docz-core#react-hot-loader"
info Disk size without dependencies: "228KB"
info Disk size with unique dependencies: "1.63MB"
info Disk size with transitive dependencies: "2.21MB"
info Number of shared dependencies: 16
✨ Done in 0.83s.
Workaround:
"resolutions": {
"docz-core": "^0.13.7"
}
I had to pop other stuff to get it working:
"resolutions": {
"react-hot-loader": "4.7.1",
"docz-core": "^0.13.7",
"ansi-styles": "^3.2.0"
},
"devDependencies": {
"@emotion/cache": "^10.0.0",
"@emotion/core": "^10.0.6"
}
Feels super dodgy but works for now 🙏
Bug Report
React hook
useEffect
is brokenhttps://github.com/facebook/react/issues/14767#issuecomment-461118304