-
Notifications
You must be signed in to change notification settings - Fork 72
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: findDOMNode
Used in OverlayTrigger
After React 18 Upgrade
#3425
Comments
findDOMNode
Used in OverlayTrigger
After React 18 Upgrade
Did a tiny bit of digging -
|
And a tiny bit more digging... it looks like even if we were to upgrade to the latest When switching to the // TODO: Remove in next major.
// eslint-disable-next-line react/no-find-dom-node
return ReactDOM.findDOMNode(componentOrElement); Seems that disabled ESLint rule hasn't been officially released, if not in the latest |
As of writing, the latest The My guess is |
Unfortunately, I don't think we can do that until we can fully upgrade to Bootstrap 5, though, as |
Upon upgrading
openedx/frontend-app-learner-portal-enterprise
to React 18, new deprecation warnings related tofindDOMNode
are seen when running inStrictMode
. See below for stack trace:It appears the
findDOMNode
is coming fromreact-bootstrap
'sOverlayTrigger
component here.The text was updated successfully, but these errors were encountered: