-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Warning: Legacy context API has been detected within a strict-mode tree." #255
Comments
I guess we will have to switch to use React context, it's a bit a shame because the legacy API was quite convenient but here it will require gl-react to have 2 nested vdom (as a Node is both a context consumer and a context provider). |
I'm afraid migrating to latest context API is really not an easy task for gl-react. nesting (was discussing it on https://twitter.com/greweb/status/1342776401011871745 too) |
Hey @gre is there any path forward for this? disabling strict mode seems like the only solution so far, but at some point in time, gl-react will need to support the new context apis. |
bug report
I'm getting this in the console.
library version
The text was updated successfully, but these errors were encountered: