React.StrictMode throws warning because of findDOMNode use

Author: kodai3Created Apr 28, 2024Updated Feb 11, 2026

**Is your feature request related to a problem? Please describe **

react-dom findDOMNode is derecated and will be removed in next major version update. https://github.com/facebook/react/issues/14357 https://github.com/facebook/react/issues/28926

Because of this it throws warning.

Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of StyledComponent which is inside StrictMode. Instead, add a ref directly to the element you want to reference.

Now React 19 is released as beta. This package will block us from upgrading.

**Describe the solution you'd like **

We have to update the logic without using them. https://react.dev/reference/react-dom/findDOMNode#finding-the-root-dom-node-of-a-class-component

Source: google-map-react/google-map-react