We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
react router 核心 就是使用 history 模块。
so..
可以在 其他需要访问控制路由的地方
var history = require('history'); // 如果你的路由是: example/some/path 这样真实的 URL import { createBrowserHistory } from 'history' const history = createBrowserHistory() // 如果你的路由是 :example/#/some/path import { createHashHistory } from 'history' const history = createHashHistory() history.push(example/some/path)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
react router 核心 就是使用 history 模块。
so..
可以在 其他需要访问控制路由的地方
The text was updated successfully, but these errors were encountered: