Summary
As part of a callback I would like to update the contents of a container (have that displayed) do additional work, then update the contents again.
Additional information
This is an extremely easy and common workflow in react but seems extraordinarily hard in streamlit.
Basically I either want the app to update based on a logic induced state change, or have the ability to rerender at any point from within my callback logic.
st.experimental_rerun() appears to stop the flow of logic rather than just remotely triggering a react render (which is what I want).
Alternatively if there were a way to simply append to a given container rather than overwriting I could us this, however any time I call with container: container.write()
from a callback it overwrites the contents of the container.