history#
Manages browsing session history
const history = createBrowserHistory();
history.listen(({ action, location }) => {
console.log(action, location.pathname);
});
history.navigate('/dashboard?tab=stats#top');
// action: "push", location.pathname: "/dashboard"
history.update({ theme: 'dark' });
// action: "update"
history.back();