encodeLocation

abstract fun encodeLocation(to: To): Path(source)

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

Parameters

to

Unencoded path