How can route V6 be flexibly used in class components, such as route jump, and whether it can be better compatible with class components · Discussion #8595 · remix-run/react-router · GitHub
React Routing and Component- Learn How to Work With React Routing and React Component (Build an App) | Yazdani Chowdhury | Skillshare
![javascript - react-router-dom, useHistory() function inside a class based component - Stack Overflow javascript - react-router-dom, useHistory() function inside a class based component - Stack Overflow](https://i.stack.imgur.com/vlHof.png)