You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
createHistory.js and createDOMHistory.js are used internally for shared functionality. You shouldn't use or import them directly, and they're not exposed in the module entry file.
createBrowserHistory.js is the HTML5 history type. It's the recommended one for browser apps, so it's exposed as createHistory from the entry file.
Ah - makes much more sense now. The name collision between the createHistory global function and the createHistory submodule was confusing me, but those two lines of change make the distinction a lot clearer :-)
The docs indicate three types of histories:
In the code, there are two more:
createBrowserHistory seems to actually be what the docs claim createHistory is, so it's unclear what createHistory actually does.
The text was updated successfully, but these errors were encountered: