faceyspacey / react-universal-component

🚀 The final answer to a React Universal Component: simultaneous SSR + Code Splitting
MIT License
1.7k stars 80 forks source link

Upgrade to New Context API #194

Open ithinkdancan opened 5 years ago

ithinkdancan commented 5 years ago

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?

ScriptedAlchemy commented 5 years ago

Willing to open a PR? Ill happily merge

ithinkdancan commented 3 years ago

@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