Transitive dependancy conflict with React 18
Closed this issue · 1 comments
NirmalScaria commented
Bug report
Packages affected
- sandpack-client
- sandpack-react
Description of the problem
sandpack-react requires the devDependancy "@testing-library/react-hooks": "8.0.1"
And @testing-library/react-hooks requires "react": "^16.9.0 || ^17.0.0".
Turns out the library @testing-library/react-hooks itself is depreciated and they recommend using '@testing-library/react' instead.
This causes trouble in resolving dependency for React 18.
NirmalScaria commented
Ignore this. I was setting it up wrong.
(Still, the depreciated dependancy might be worth having a look into)