标签:route not out creat push 解决 from 引入 tor
Warning: Hash history cannot PUSH the same path; a new entry will not be added to the history stack
import createBrowserHistory from "history/createBrowserHistory";
const customHistory = createBrowserHistory();
<Router history = {customHistory} />
React 项目使用 React-router-dom 4.0 以上版本时使用 HashRouter 怎么控制 history
标签:route not out creat push 解决 from 引入 tor
原文地址:https://www.cnblogs.com/zhourongcode/p/9868470.html