linXiv frontend (TS/JS)
    Preparing search index...

    Function parsePersistedReadingStatuses

    • Salvage statuses from the retired zustand-persist localStorage blob ({"state":{"statuses":{...}},"version":n}). Garbage in any shape — bad JSON, wrong nesting, invalid values — yields {} / drops the entry, never throws: this feeds the one-time push to the backend.

      Parameters

      • raw: string | null

      Returns Record<string, ReadingStatus>