connectedRouter Error: Could not find router reducer in state tree, it must be mounted under “router”

后端 未结 6 1552
轮回少年
轮回少年 2021-01-01 15:09

I am new to React.js and was setting up base project at that I was getting one issue that my routing got changed but component doesn\'t load. After googling I found that I n

6条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-01 15:45

    If you use immutable you should import ConnectedRouter from 'connected-react-router/immutable'.

提交回复
热议问题