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
Warning: Unsafe lifecycle methods were found within a strict-mode tree:
in StrictMode (created by BasicExample)
in BasicExample
componentWillMount: Please update the following components to use componentDidMount instead: BrowserRouter, Route, Router, Switch
componentWillReceiveProps: Please update the following components to use static getDerivedStateFromProps instead: Route, Router, Switch
Learn more about this warning here:
https://fb.me/react-strict-mode-warnings
The text was updated successfully, but these errors were encountered:
Version
react-router-dom: 4.3.1
react: 16.5.2
Test Case
https://codesandbox.io/s/m3nz3jy13j
Steps to reproduce
Wrap Application with
<StrictMode>
Expected Behavior
No warnings in console.
Actual Behavior
Warning in console
The text was updated successfully, but these errors were encountered: