[React-18] Warning: findDOMNode is deprecated in StrictMode.
Closed this issue · 4 comments
shehi commented
OlegWock commented
Yeah, that's because I used quite outdated library for animation in this project (https://reactcommunity.org/react-transition-group/). If someone has energy to rewrite it to any modern alternative, that would be great.
This is only a warning, so it shouldn't break anything in your project
shehi commented
Why not use famous Animate.Css?
OlegWock commented
Because they achieve two different goals. Animate.css is just a preset of ready-made CSS animations while react-transition-group exposes 'state' of component (just mounted, going to be unmounted, etc) which in turn enables us to use CSS animation
OlegWock commented
Fixed in v2 (also compatible with React 19 now)