react-universal-component icon indicating copy to clipboard operation
react-universal-component copied to clipboard

Upgrade to New Context API

Open ithinkdancan opened this issue 6 years ago • 2 comments

currently getting this error when in StrictMode on the latest react

react-dom.development.js?61bb:545 Warning: Legacy context API has been detected within a strict-mode tree:

Please update the following components: UniversalComponent

are there any plans to upgrade to the new Context API?

ithinkdancan avatar Sep 06 '19 15:09 ithinkdancan

Willing to open a PR? Ill happily merge

ScriptedAlchemy avatar Sep 06 '19 23:09 ScriptedAlchemy

@ScriptedAlchemy Put up an MR to get rid of legacy context and use the new API: https://github.com/faceyspacey/react-universal-component/pull/216

ithinkdancan avatar Sep 16 '20 19:09 ithinkdancan