Remove peer dependency requirements
atwright147 opened this issue · 0 comments
atwright147 commented
Hey,
This project has strict peer dep requirements set in the package.json, limiting React to a max of v17 and React-DnD v14 but it seems to work fine in React v18.2.0
with React-DnD v16.0.1
. This suggests that the peer requirements are un-necessary.
Could they be removed please?
For anyone else wanting to use this with newer versions of React and React-DnD add the following to your package.json:
"overrides": {
"react-dnd-accessible-backend": {
"react": "$react",
"react-dnd": "$react-dnd"
}
}
Source of info about the override functionality in NPM v8+: https://stackoverflow.com/a/74734729/633056