Questions tagged [connected-react-router]

connected-react-router allows the binding of the react-router state with the redux store.

Developer documentation and resources:

94 questions
0
votes
1 answer

How to fix import error called by connected-react-router module?

I'm confused by issue caused by react-router-dom. It can't import matchPath function from react-router. Exception is: ./node_modules/connected-react-router/esm/selectors.js Attempted import error: 'matchPath' is not exported from 'react-router'.
0
votes
1 answer

doesn't trigger @@router/LOCATION_CHANGE action

I am having an issue when clicking on react-router component. Currently, when clicking it navigates to the correct page but no actions were fired in redux). The history object updates. I can tell because back/forward works as expected…
yotke
  • 1,170
  • 2
  • 12
  • 26
-1
votes
1 answer

Redux-Persist: TypeError: Cannot read property 'getItem' of undefined

I am working on a react app and recently upgraded to node12.10.0 on my mac and have seen a plethora of package issues. I upgraded a lot of the packages in my project but am down to an error that seems to occur when I call…
user1790300
  • 2,143
  • 10
  • 54
  • 123
-2
votes
1 answer

In a CRA app, how to wait for some action(redux) to get complete first and then only proceed with the App.js render() function?

I am trying to figure out a way to store the authentication state of a user inside the redux store. Suppose isAuthenticated store the state of user if they are logged-in or not. Now, I have a cookie(httpOnly) sent by the server which remembers the…
The Coder
  • 3,447
  • 7
  • 46
  • 81
1 2 3 4 5 6
7