Skip to content

Conversation

janaka
Copy link
Contributor

@janaka janaka commented Jul 3, 2023

Add note in the caveat section about state resetting when browser refreshed.

📚 Context

This is a key behaviour that isn't expected given how other frameworks work and how session is generally understood. Arguably this point should be highlighted in a more prominent way. Also relates to PR #676.

🧠 Description of Changes

Added a new bullet under the caveats section at the top.

No existing content has been modified or deleted.

Revised:

note: screenshot of GH render of MD but should be sufficient for this change.
image

Current:

image

💥 Impact

Size:

  • Small
  • Not small

🌐 References

Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

Add note in the caveat section about state resetting when browser refreshed.
@janaka janaka marked this pull request as ready for review July 3, 2023 10:22
@snehankekre snehankekre self-requested a review August 23, 2023 13:41
@sfc-gh-dmatthews sfc-gh-dmatthews requested a review from a team as a code owner September 19, 2025 16:02
@sfc-gh-dmatthews sfc-gh-dmatthews merged commit 9145a15 into streamlit:main Sep 19, 2025
4 checks passed
cyrilou242 pushed a commit to javelit/docs that referenced this pull request Oct 1, 2025
* Update: at note on browser refresh behavior

Add note in the caveat section about state resetting when browser refreshed.

* Tweak wording

---------

Co-authored-by: Debbie Matthews <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants