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

Replace the now deprecated findDOMNode with refs #496

Open
L3P3 opened this issue Feb 3, 2020 · 1 comment
Open

Replace the now deprecated findDOMNode with refs #496

L3P3 opened this issue Feb 3, 2020 · 1 comment

Comments

@L3P3
Copy link

L3P3 commented Feb 3, 2020

In strict mode, I get a bunch of warnings in the log:
Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of ExtTitlebar which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node
In near future, it will be gone so it needs to replaced.

This evil method is used twice inside reactize.js. I don't know why you used it there instead of passing a ref down the tree but it should defentily replaced by something non-deprecated.
I could try to fix it by myself but if I don't get anything for it, there is no point in doing that.
Thanks in advance!

@mobtex
Copy link

mobtex commented Nov 28, 2020

Sencha, when will this error be resolved?

This is annoying.

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

No branches or pull requests

2 participants