Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

require("history").createBrowserHistory` instead of `require("history/createBrowserHistory")`

// history.js

import { createBrowserHistory } from "history";
export default createBrowserHistory(); 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
7+1 =