You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find it tough to pass an action to the exiting component due to the design of streamlit.
The main difficulty comes from that fact that st.experimental_rerun invokes the constructor, and thus the current game state is discarded. Technically we can keep all relevant state as the component value and reconstruct the app after the rerun, but that would make the value set large, because it would include the history information as well.
I need to think of better approaches.
The text was updated successfully, but these errors were encountered:
I find it tough to pass an action to the exiting component due to the design of streamlit.
The main difficulty comes from that fact that
st.experimental_rerun
invokes the constructor, and thus the current game state is discarded. Technically we can keep all relevant state as the component value and reconstruct the app after the rerun, but that would make the value set large, because it would include the history information as well.I need to think of better approaches.
The text was updated successfully, but these errors were encountered: