opentok / opentok-react

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

Warning: Legacy context API has been detected within a strict-mode tree. (OTSubscriber) #190

Open kanayo opened 3 years ago

kanayo commented 3 years ago

Getting this warning in the browser console in development:

react_devtools_backend.js:2557 Warning: Legacy context API has been detected within a strict-mode tree.

The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.

Please update the following components: OTSubscriber

calvinwyoung commented 3 years ago

Any update on this issue? I'm getting this error for both the OTSubscriber and OTSubscriberContext components.