Skip to content

State Storage

Two types of storage compatible with syncState:

  • OsdUrlStateStorage - Serialises state and persists it to URL's query param in rison or hashed format (similar to what AppState & GlobalState did in legacy world). Listens for state updates in the URL and pushes updates back to state.
  • SessionStorageStateStorage - Serializes state and persists it to session storage.