Skip to content
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

Popover2 Warning - Portal uses legacy React context #5139

Closed
edengueta opened this issue Feb 22, 2022 · 2 comments · Fixed by #5493
Closed

Popover2 Warning - Portal uses legacy React context #5139

edengueta opened this issue Feb 22, 2022 · 2 comments · Fixed by #5493

Comments

@edengueta
Copy link

Environment

  • Package version(s): core- 3.53.0, popover2- 0.13.0, react- 17
  • Browser and OS versions: chrome 97, ubuntu 20

Question

When i opened i got warned:

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: Blueprint3.Portal

How should i solve this?

@adidahiya
Copy link
Contributor

This will be fixed in Blueprint v5, which will include full compatibility with React strict mode: https://github.com/palantir/blueprint/wiki/Blueprint-5.0

@adidahiya adidahiya changed the title Popover2 Warning Popover2 Warning - Portal uses legacy React context Feb 24, 2022
@adidahiya adidahiya added this to the 5.0.0 milestone Feb 24, 2022
@taha1ahmed
Copy link

Hi @adidahiya, the link you've shared above says

Blueprint 5.0 is planned for release in mid 2022
Is there any visibility how soon we'll be able to actually start using v5.0.

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

Successfully merging a pull request may close this issue.

3 participants