@st.experimental_singleton
How @st.experimental_singleton compares to @st.cache
Which to use: memo or singleton?
Add statefulness to apps
Session State is a way to share variables between reruns, for each user session. In addition to the ability to store and persist state, Streamlit also exposes the ability to manipulate state using Callbacks.
What is Session State?
How to initialize Session State items?
How to read and update Session State items?
How to use callbacks in Session State?
How to use args and kwargs in callbacks?
How to use callbacks in forms?
How is Session State related to Widget State?
Caveats and limitations
Pre-release features
At Streamlit, we like to move quick while keeping things stable. In our latest effort to move even faster without sacrificing stability, we're offering our bold and fearless users two ways to try out Streamlit's bleeding-edge features.
