Open LeifAndersen opened 1 year ago
bump
βWARNβ Issues with peer dependencies found
.
βββ¬ chonky 2.3.2
βββ¬ @material-ui/core 4.11.3
β βββ β unmet peer react@"^16.8.0 || ^17.0.0": found 18.2.0
β βββ β unmet peer react-dom@"^16.8.0 || ^17.0.0": found 18.2.0
β βββ¬ @material-ui/styles 4.11.5
β β βββ β unmet peer react@"^16.8.0 || ^17.0.0": found 18.2.0
β β βββ β unmet peer react-dom@"^16.8.0 || ^17.0.0": found 18.2.0
β β βββ¬ @material-ui/utils 4.11.3
β β βββ β unmet peer react@"^16.8.0 || ^17.0.0": found 18.2.0
β β βββ β unmet peer react-dom@"^16.8.0 || ^17.0.0": found 18.2.0
β βββ¬ @material-ui/system 4.12.2
β βββ β unmet peer react@"^16.8.0 || ^17.0.0": found 18.2.0
β βββ β unmet peer react-dom@"^16.8.0 || ^17.0.0": found 18.2.0
βββ¬ react-intl 5.25.1
βββ β unmet peer typescript@^4.5: found 5.0.4
βββ¬ @formatjs/intl 2.2.1
βββ β unmet peer typescript@^4.5: found 5.0.4
Chonky will die a quick death if key dependencies are not kept up to date. ππΌ
Since it looks like this project hasn't had any updates in over a year, I suspect it may already be too late. :(
FWIW, as a temporary (pretty awful) patch, you 'might' be able to get around this by putting this in your package.json:
"overrides": {
"react": "$react"
}
@TimboKZ Would you accept a PR on this?
@dominique-mueller @LeifAndersen Try this updated version https://github.com/aperturerobotics/react-chonky. I have also done the whole migration in emotion and muiv5 and some general tweaks like Material 3, virtuoso for better performance on virtual lists and also removed dependency on icon packages (both in one) you can check my fork also here https://github.com/divyam234/react-chonky
Right now this library uses material ui v4. It looks like that its no longer being maintained since v5 has come out:
https://www.npmjs.com/package/@material-ui/core
Unfortunately, it also looks like v4 relies on react 17, and fails on react 18. As such, chonky also seems to require react 17.