import { createBrowserHistory } from 'history'; // Shared history singleton. It backs react-router's (App.js) // AND is used outside the React tree (NotificationsObserver push, Utils/location // listen), so it must be the same instance the router navigates. const history = createBrowserHistory(); export default history;