createHashHistory

external fun createHashHistory(options: HashHistoryOptions = definedExternally): HashHistory(source)

Hash history stores the location in window.location.hash. This makes it ideal for situations where you don't want to send the location to the server for some reason, either because you do cannot configure it or the URL space is reserved for something else.

See also

https

://github.com/remix-run/history/tree/main/docs/api-reference.md#createhashhistory