MemoryHistory
A memory history stores locations in memory. This is useful in stateful environments where there is no web browser, such as node tests or React Native.
Functions
Link copied to clipboard
Returns a valid href for the given to
value that may be used as the value of an attribute.
Link copied to clipboard
Encode a location the same way window.history would do (no-op for memory history) so we ensure our PUSH/REPLACE navigations for data routers behave the same as POP