DomposableBrowserHistory

expect fun <S : Any> DomposableBrowserHistory(state: DomposableBrowserHistoryState<S>, codec: DomposableBrowserHistoryCodec<S>, onBeforeRestore: () -> Unit = {}, onRestore: (DomposableBrowserHistoryRecord<S>?) -> Unit)

The caller owns the value, URL codec, restore policy, and browser stack semantics.


expect fun <R : Any> DomposableBrowserHistory(backStack: SnapshotStateList<DomposableEntryScope<R>>, codec: DomposableRouteCodec<R>, urls: DomposableBrowserUrls = DomposableBrowserUrls.Hash)

Application-owned URL codec; hash URLs support GitHub Pages project hosting.

Application-owned URL codec; hash URLs support GitHub Pages project hosting.

Application-owned URL codec; hash URLs support GitHub Pages project hosting.

The caller owns the value, URL codec, restore policy, and browser stack semantics.

The caller owns the value, URL codec, restore policy, and browser stack semantics.