Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Protect Store components against disallowed or full browser storage #635

Open
alexcjohnson opened this issue Sep 4, 2019 · 0 comments
Open

Comments

@alexcjohnson
Copy link
Collaborator

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant