Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Protect Store components against disallowed or full browser storage #635

@alexcjohnson

Description

@alexcjohnson

Spurred by discussion in https://github.com/plotly/dash/pull/903/files#r320827055 - dcc.Store is not protected against situations where it's not allowed to store data in localStorage or sessionStorage. Seems like it should fall back on memory storage if necessary, and/or clear old values in the store (IDs not currently on the page? This could come up for app devs who serve many different apps over time on the same URL) - and in any event it should tell users, at least in debug mode, what happened.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions