![reactjs - Whe I use the react route 4 history, but the console gives the follow warning. Can anyone tell me the reason? - Stack Overflow reactjs - Whe I use the react route 4 history, but the console gives the follow warning. Can anyone tell me the reason? - Stack Overflow](https://i.stack.imgur.com/caEWM.png)
reactjs - Whe I use the react route 4 history, but the console gives the follow warning. Can anyone tell me the reason? - Stack Overflow
![Navigation in React Router: Navigate, useNavigate, History, and useHistory | by Tolulope Awoyomi | Jun, 2023 | Medium Navigation in React Router: Navigate, useNavigate, History, and useHistory | by Tolulope Awoyomi | Jun, 2023 | Medium](https://miro.medium.com/v2/resize:fit:1400/1*N3pV2SE7Gmi1NpUSUKXB-A.png)
Navigation in React Router: Navigate, useNavigate, History, and useHistory | by Tolulope Awoyomi | Jun, 2023 | Medium
![import error: 'useHistory' is not exported from 'react-router-dom' SOLVED | useHistory was not found - YouTube import error: 'useHistory' is not exported from 'react-router-dom' SOLVED | useHistory was not found - YouTube](https://i.ytimg.com/vi/DsUnT2ybJc8/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLBtIUz6YzG22pSzbZd4MTk1_q6Djg)