Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Warning: Legacy context API has been detected within a strict-mode tree. #48

Open
Vadorequest opened this issue May 14, 2021 · 1 comment

Comments

@Vadorequest
Copy link

I got the following warning in my app once I enabled reactStrictMode.

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: Amplitude, AmplitudeProvider

Learn more about this warning here: https://reactjs.org/link/legacy-context

image

Doc: https://reactjs.org/link/legacy-context

It's not a blocker, but should be considered for the future.

@ashwinkhode
Copy link

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants