opentok / opentok-react

React components for OpenTok.js
https://www.npmjs.com/package/opentok-react
MIT License
107 stars 105 forks source link

Doesn't work with react v17 #210

Closed devmakarov closed 1 year ago

devmakarov commented 2 years ago

Can you expand peerDependencies please? I can't install via 'npm i opentok-react '. Thank you!

tjfroll commented 2 years ago

With npm7, mismatched peer dependencies now cause a blocking error on install. This peer dependency is blocking us from upgrading to React 17.

Oakyden commented 2 years ago

You can use npm install --legacy-peer-deps if you have to for React 17. More here https://stackoverflow.com/questions/66239691/what-does-npm-install-legacy-peer-deps-do-exactly-when-is-it-recommended-wh

zedd45 commented 1 year ago

@Oakyden forcing the peer dependencies doesn't really fix the issue when the code base hasn't been updated in 2+ years. It would be nice to see the authors look into this, but #200 has been sitting since 2021, so I'm pretty sure this project has been abandoned.

devwithzachary commented 1 year ago

Good morning everyone, we are moving to fully support web components for OpenTok instead of just having a react package. The benefit of this is we can support a much wider range of JS frameworks from one repo. With just one code base to maintain we can be much more active in updates for the latest OpenTok versions.

The web components are currently in public beta as they don't have full feature parity with the react components just yet. But we will be building in the final features over the next couple of weeks with the hope to make this stable before the Christmas period.

We fully welcome any feedback and test on the new components so please check them out here https://github.com/opentok/web-components

We also have a react project example to show how to use these new components https://github.com/opentok/web-components/tree/main/examples/react