Warning: Please use `require("history").createHashHistory` instead of `require("history/createHashHistory")`. Support for the latter will be removed in the next major release. code example
Example: require("history").createBrowserHistory` instead of `require("history/createBrowserHistory")`
// history.js
import { createBrowserHistory } from "history";
export default createBrowserHistory();