Skip to main content

Function: readStateFromUrl()

readStateFromUrl(): unknown

Defined in: src/serialization/urlState.ts:194

Read and decode the state from the current location.hash.

Returns​

unknown

The decoded state, or null when there is no DOM, no hash, or the hash is invalid.