Re-render when state or variable changes?


I’m trying to write an app that runs some async job, and changes whats displayed while the job is running.

So what I think I need is the ability to re-render not just in response to a change in user input, but also in response to a change in some session state or variable.

Is that possible with streamlit? It seems like re-rendering like this is is not really supported.

Hi @Leigh_Stewart , you could probably try this:

if MyVar == "Whatever value you want to monitor":