react-router 6 does not export a browserHistory global. In v6 it is preferable to useNavigate. We will however be able to replicate the global object with a custom router.
This object is now marked as deprecated though and should be replaced with useNavigate.
react-router 6 does not export a browserHistory global. In v6 it is preferable to useNavigate. We will however be able to replicate the global object with a custom router.
This object is now marked as deprecated though and should be replaced with useNavigate.