Skip to content
New issue

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

服务器记录路由跳转 #26

Open
zhans1993 opened this issue Jul 6, 2018 · 1 comment
Open

服务器记录路由跳转 #26

zhans1993 opened this issue Jul 6, 2018 · 1 comment

Comments

@zhans1993
Copy link

有什么办法可以在服务器记录路由跳转呢? 就是 react router 的变化 ,我目前只想到把工程拆分多页面,,用experss 做路由分发,罗哥有啥其他的思路么?谢谢

@javaLuo
Copy link
Owner

javaLuo commented Jul 6, 2018

react-router的Route中配置render事件,在render事件里记录本次路由。合适的时机传给后台
暂时只能想到这样做吧

不知道有没有这样的插件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants