Closed Kost927 closed 2 years ago
using debugger can see that the history obj comes not complete. Any suggestions on how to fix it?
Sorry, react-router was not updated to 6th version, only react router dom.
Also had a problem with history dep. Tried 4.10.* and 5.3.0 (latest), and tried to remove history dep at all, as it is present in react-router-dom. Always had errors. The solution is to use history 5.0.0.
Doesn't work with 5.3 and works with 5.0, am I right?
Yes, you are right
But it is there. As you can see in the first screenshot history obj comes not undefined.
package.json: "history": "^5.3.0", "react-router-dom": "^6.3.0", "@lagunovsky/redux-react-router": "^4.0.0"