createMemoryHistory

external fun createMemoryHistory(options: MemoryHistoryOptions = definedExternally): MemoryHistory(source)

Memory history stores the current location in memory. It is designed for use in stateful non-browser environments like tests and React Native.