store
store copied to clipboard
Documentation says library is compatible with React 16.8.0, but peerDependencies is `{ "react": "^17.0.0 || ^18.0.0", "react-dom": "^17.0.0 || ^18.0.0" }`
Describe the bug
From package.json of 0.3.1:
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0"
},
Steps to Reproduce the Bug or Issue
- Try to install the library in a project that has react 16 (> 16.8.0):
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^17.0.0 || ^18.0.0" from @tanstack/[email protected]
npm ERR! node_modules/@tanstack/react-store
npm ERR! @tanstack/react-store@"*" from the root project
Expected behavior
As per README, I'd expect the package to be installed without peer dependencies conflict.
Screenshots or Videos
No response
Platform
- OS: Windows
- Browser: N/A, this is a dependency issue
- Version: N/A, this is a dependency issue
Additional context
No response