apollo-state-sync - API Reference (Users)
    Preparing search index...

    Function getPersistedState

    • Reads the persisted Apollo Client state from local storage.

      Returns undefined when local storage is unavailable, no state has been saved, or the saved state has expired.

      Returns PersistedStateType | undefined

      the unexpired persisted state, if available.