You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With newest React 18 version when certain iTwinUi-react components are used and app is in strict mode, an error is logged into the console: findDOMNode is deprecated in StrictMode.
The error is coming from 'react-transition-group' package that is used in WithCSSTransition component. As I understand according to issue reactjs/react-transition-group#904 this can be fixed on iTwinUI side.
Expected Behavior
No response
Link to minimal repro
No response
Steps To Reproduce
Create an app that is using React 18 and is wrapped in strict mode.
Use one of the affected components, e.g. WithCSSTransition
You should be seeing the error in browser console when affected component is rendered
Anything else?
No response
The text was updated successfully, but these errors were encountered:
@Xellon Thanks for reporting this issue. This is something we're aware of, and we're actually planning to remove the dependency on react-transition-group altogether.
Describe the bug (current behavior)
With newest React 18 version when certain iTwinUi-react components are used and app is in strict mode, an error is logged into the console: findDOMNode is deprecated in StrictMode.
The error is coming from 'react-transition-group' package that is used in WithCSSTransition component. As I understand according to issue reactjs/react-transition-group#904 this can be fixed on iTwinUI side.
Expected Behavior
No response
Link to minimal repro
No response
Steps To Reproduce
Anything else?
No response
The text was updated successfully, but these errors were encountered: