react-luo icon indicating copy to clipboard operation
react-luo copied to clipboard

服务器记录路由跳转

Open zhans1993 opened this issue 7 years ago • 1 comments

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

zhans1993 avatar Jul 06 '18 02:07 zhans1993

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

不知道有没有这样的插件

javaLuo avatar Jul 06 '18 02:07 javaLuo