mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
415ee0e6ea
This backports a deprecation warning for legacy context, even when Strict Mode is not enabled. I didn't bother to update all the tests because the tests are in such a different state than what's on `main`, and on `main` we already updated the tests accordingly. So instead I silenced the warnings in our test config, like we've done for other warnings in the past.