Creates the history adapter that reads and writes location to an in-memory stack.
A non-empty array of initial history entries. If an entry is a string, it should start with a HistoryOptions.basePathname.
History options.
Creates the history adapter that reads and writes location to an in-memory stack.