Skip to content

服务器记录路由跳转 #26

Open

Description

@zhans1993

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

Activity

  1. javaLuo commented on Jul 6, 2018

    @javaLuo
    Owner

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

    不知道有没有这样的插件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions