Skip to content Skip to sidebar Skip to footer

How Can I Fix ''finddomnode Is Deprecated In Strictmode'' Error?

I get '' findDOMNode is deprecated in StrictMode '' in my console when I click on the button that triggers drawer to open This is the button component container , button component

Solution 1:

The error is coming from material-ui's Transition component. Maybe they will fix it in the future but worry not you won't see this error in production. Still if you don't need the StrictMode you can remove it from src/index.js.


Post a Comment for "How Can I Fix ''finddomnode Is Deprecated In Strictmode'' Error?"