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://fb.me/react-strict-mode-find-node
in div (created by Toast)
in Transition (created by ToastTransition)
in ToastTransition (created by Toast)
in Toast (created by ToastContainer)
in div (created by ToastPositioner)
in ToastPositioner (created by ToastContainer)
in div (created by ToastContainer)
in /*my code...*/
After adding the
React.StrictModecomponent I'm getting this warning.