bug: peer dependency error with React 16 / React 17 #2234
Labels
bug
Something isn't working
status:confirmed
Described issue has been reproduced by the repo maintainer
Describe the bug
The peer dependencies have
"react": "^18.0.0 || ^17.0.0 || ^16.8.0"
, but if you install it with react 16.8, there will be peer-dependencies issues because ofreact-markdown
9.0.0
which has"react": ">=18"
in its peer-dependencies.It seems to work at runtime for us locally, but was breaking our tests & build
It is ok to drop support for old React versions, but it should be clear in the peer-dependencies so we don't try to update yet
To Reproduce
Steps to reproduce the behavior:
stream-chat-react
Expected behavior
Peer-dependencies of
stream-chat-react
should reflect real version needsPackage version
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: