react-notifications
react-notifications copied to clipboard
Warning : findDOMNode is deprecated in StrictMode
Getting warning
index.js:1 Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Transition which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node
at div
at Notification (http://localhost:3003/static/js/vendors~main.chunk.js:87799:5)
at Transition (http://localhost:3003/static/js/vendors~main.chunk.js:94322:30)
at CSSTransition (http://localhost:3003/static/js/vendors~main.chunk.js:93439:35)
at div
at TransitionGroup (http://localhost:3003/static/js/vendors~main.chunk.js:94891:30)
at div
at Notifications (http://localhost:3003/static/js/vendors~main.chunk.js:88565:5)
at NotificationContainer (http://localhost:3003/static/js/vendors~main.chunk.js:88060:5)
at div
at App (http://localhost:3003/static/js/main.chunk.js:196:1)
console.
+
+
Thanks for the report, sorry for the delay. Been a busy year plus with Covid & a couple personal things. Getting back to issues & PRs here now.
Give me a little bit and I'll see if I can get a new major version out in the next couple weeks.
Hi, any ETA on when the update might be available? Thanks
+
@tjrexer Hi, any news ?
.
I have not been able to find anything causing the warning. Only warnings I'm seeing is regarding componentWillX & am working on that fix.
Check your package-lock, react-transition-group should be running on a later version than 4.4.0 (which has historically been the source of this warning).
This is also a duplicate of #21 .
@tjrexer is it able to work now? Having issues using it with react 18