✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Retain data after refresh or close the app

Good morning people.

I need to save the info in a html.Label in my app, in a way that it maintains the same after refresh the page or close it and reopen. I remember to see a post in which this behavior was explained showing as example 2 or 3 buttons and maintaining the n_clicks properties of both buttons.

I know I can do it with Store, pickles… but, due to rest of my code, I can’t do anything of that.

Thanks you very much in advance.

If someone needs it: I’ve found the post https://dash.plot.ly/persistence

2 Likes