-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Deprecated Context and reference. #3703
Comments
This solves JedWatson#3916, and partially addresses JedWatson#3703. From React 16.3 the old Context API was deprecated and it's rising warnings when runng in strict-mode.
This solves JedWatson#3916, and partially addresses JedWatson#3703. From React 16.3 the old Context API was deprecated and it's rising warnings when runng in strict-mode.
This solves JedWatson#3916, and partially addresses JedWatson#3703. From React 16.3 the old Context API was deprecated and it's rising warnings when runng in strict-mode.
Legacy context API warning should be partially addressed by #3928 |
where is solution . if not then why its been closed? |
Hi @hemant171k, it's currently open. |
Im still having this issue. Did you already merge the solution? |
@hiimagu The solution has been merged, but not released yet. |
When do you plan to release it? |
@olelivalife There is no definite release date and it seems unlikely that it will be soon. The last publish was on March 22. @JedWatson and @bladey have mentioned that they're trying to get a publish out "as soon as possible," but I wouldn't count on it happening anytime soon. |
I hope that this problem is resolved quickly. |
When will we get the fixed version of the release? |
Is there any workaround for this yet? |
@MaximilianLloyd I've started a fork where this is fixed in |
Has this new version that fixes this issue been released yet? I am currently using 3.1.1 and the error is still occurring there. |
@MrDogeBro Track #4094 for more info. The plan is to release the fixes for this in a 4.0 release. |
@Methuselah96 ok sounds good. Any ideas on when this update should be released? |
@MrDogeBro It's primarily dependent on Jed's availability. My guess is sometime within 1-2 months. |
@Methuselah96 is the fixed yet? |
@abhimanusharma Yes, it was fixed in |
I'm still getting this error. I've tested everything I can think of to make sure I am up to date but the error remains. |
Can you provide the error message you're getting? |
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: Transition, TransitionGroup Learn more about this warning here: https://reactjs.org/link/legacy-context |
It doesn't work either. No transitions. |
Just to confirm, have you tried react-select v5? |
No sorry I realise now this issue thread is related specifically to that isn't it. |
Yeah, we focus our efforts on supporting the latest major version (react-select v5 at the moment). I believe the issue has been fixed in react-select v5 and we don't currently have plans to back-port the fix to earlier major versions. |
Hi, some usage of Select are now deprecated by React.
In addition to #3191 there are also some problem with context:
and reference:
You can see them here:
https://codesandbox.io/embed/react-codesandboxer-example-vhvre
Thanks.
Matt'
The text was updated successfully, but these errors were encountered: