![javascript - React, getting Uncaught TypeError: Cannot read properties of null (reading "useRef") at BrowserRouter - Stack Overflow javascript - React, getting Uncaught TypeError: Cannot read properties of null (reading "useRef") at BrowserRouter - Stack Overflow](https://i.stack.imgur.com/J6LlQ.png)
javascript - React, getting Uncaught TypeError: Cannot read properties of null (reading "useRef") at BrowserRouter - Stack Overflow
![Uncaught TypeError: Cannot read property 'type' of undefined that may be related to react-router-redux · Issue #5831 · remix-run/react-router · GitHub Uncaught TypeError: Cannot read property 'type' of undefined that may be related to react-router-redux · Issue #5831 · remix-run/react-router · GitHub](https://user-images.githubusercontent.com/33135849/34541447-0ccde06a-f08d-11e7-8c26-7134727db767.png)
Uncaught TypeError: Cannot read property 'type' of undefined that may be related to react-router-redux · Issue #5831 · remix-run/react-router · GitHub
![reactjs - I can not get the state from react router Link component using useLocation. So how can I pass it? - Stack Overflow reactjs - I can not get the state from react router Link component using useLocation. So how can I pass it? - Stack Overflow](https://i.stack.imgur.com/9lOTz.png)