acdlite / acdlite/redux-router
Uncaught TypeError: Cannot read property 'location' of undefined
- 主要语言
- JavaScript
- 星标
- 2.3k
- 派生
- 194
- PR 合并指标
- 30 天内没有已合并 PR
描述
ncaught TypeError: Cannot read property 'location' of undefined
at new Router (main.969d8.js:8215)
at main.969d8.js:19965
at measureLifeCyclePerf (main.969d8.js:19745)
at ReactCompositeComponentWrapper._constructComponentWithoutOwner (main.969d8.js:19964)
at ReactCompositeComponentWrapper._constructComponent (main.969d8.js:19950)
at ReactCompositeComponentWrapper.mountComponent (main.969d8.js:19858)
at Object.mountComponent (main.969d8.js:3171)
at ReactCompositeComponentWrapper.performInitialMount (main.969d8.js:20041)
at ReactCompositeComponentWrapper.mountComponent (main.969d8.js:19928)
at Object.mountComponent (main.969d8.js:3171)
"react-router": "^4.1.0",
贡献指南
这个仓库没有索引到贡献指南
调研方向
The error occurs in react-router v4.1.0 when Router is instantiated without a location property. Look at the Router component in the redux-router source to see how it expects location. Check the initialization of the Redux store and how router state is injected. A test case reproducing the error would help verify the fix.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, react
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100