I'm trying to use history.push("/") from react router v6 to redirect when action is dispatched from redux store. When i use history it replaces the url but not the content ( component is not rendered )
I know we can use https://www.npmjs.com/package/connected-react-router but its not supporting v6 of react router.
Any thoughts how this can be achieved with custom router or any ref's ?
Any help much appreciated, thanks