Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Global" persistence and Graph persistence #103

Open
eidsobr opened this issue May 11, 2022 · 1 comment
Open

"Global" persistence and Graph persistence #103

eidsobr opened this issue May 11, 2022 · 1 comment

Comments

@eidsobr
Copy link

eidsobr commented May 11, 2022

My web apps are almost always multi-page with dozens to hundreds of input fields. I'm always setting all possible components to have persistence=True. Three things would be nice.

  1. some global setting for the app to persist as much as possible.
  2. adding the ability to persist graphs. My apps have lots and lots of "intermediate" outputs as users refine input settings. Results "over here" impact results "over there" and users want to click back and forth a lot. The "manual" caching technique is painful and taxing. E.g.,
    https://stackoverflow.com/questions/63611740/how-to-persist-state-of-plotly-graph-in-dash-app
  3. As has been discussed in many forums, "fixing" the issue where component values are updated via callbacks not persisting.
    E.g., https://community.plotly.com/t/losing-persistence-value-on-refresh-when-input-value-updated-using-callback/39813
@AnnMarieW
Copy link
Collaborator

@eidsobr
These are great suggestions and would be a nice addition to dash. It's likely that any solution would be made available in dash-labs first in order to get community feedback.

We'll keep this issue open to make sure this stays on the radar and to collect other comments on this topic.

Note that your third point: "component values updated via callbacks not persisting" is a bug and there's an open pull request to fix it. 🎊

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

No branches or pull requests

2 participants