acdlite / acdlite/redux-router
Uncaught TypeError: Cannot read property 'location' of undefined
- Ngôn ngữ chính
- JavaScript
- Star
- 2.3k
- Fork
- 194
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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",
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript, react
- Lĩnh vực
- frontend
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100