首页 > 代码库 > reactjs Uncaught TypeError: Cannot read property 'location' of undefined

reactjs Uncaught TypeError: Cannot read property 'location' of undefined

reactjs Uncaught TypeError: Cannot read property ‘location‘ of undefined

 

reactjs 路由配置 怎么跳转 不成功 国内搜索引擎 找半天找不到 有用 资料 于是 goolge

 

   package.json 里面配置: "react-router": "^3.0.0"  改为3.x 就可以了 , 改完 执行 npm install

 

原文参考: https://github.com/acdlite/redux-router/issues/281

reactjs Uncaught TypeError: Cannot read property 'location' of undefined