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

findDOMNode is deprecated in StrictMode #396

Open
chrischan226 opened this issue Feb 24, 2022 · 2 comments
Open

findDOMNode is deprecated in StrictMode #396

chrischan226 opened this issue Feb 24, 2022 · 2 comments

Comments

@chrischan226
Copy link

Hi there, I'm getting a warning for rendering a zoid component in React when using StrictMode. I was wondering if there was a way to remove this error, it seems to be coming from the zoid library's usage of findDomNode.

@wsbrunson
Copy link
Member

Link to the line:

const el = ReactDOM.findDOMNode(this);

thanks for the heads up @chrischan226, we will look into this

@westeezy
Copy link
Contributor

relates to #335

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

3 participants