createbrowserhistory in react code example
Example: require("history").createBrowserHistory` instead of `require("history/createBrowserHistory")`
// history.js
import { createBrowserHistory } from "history";
export default createBrowserHistory();
// history.js
import { createBrowserHistory } from "history";
export default createBrowserHistory();