zoid icon indicating copy to clipboard operation
zoid copied to clipboard

findDOMNode is deprecated in StrictMode

Open chrischan226 opened this issue 3 years ago • 2 comments

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.

chrischan226 avatar Feb 24 '22 19:02 chrischan226

Link to the line: https://github.com/krakenjs/zoid/blob/eb8677a3c41f8ad52158ad946573d0df9a47538d/src/drivers/react.js#L43

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

wsbrunson avatar Feb 24 '22 19:02 wsbrunson

relates to #335

westeezy avatar Feb 24 '22 19:02 westeezy