Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider automatically refreshing after state changes #193

Open
Aran-Fey opened this issue Dec 7, 2024 · 0 comments
Open

Consider automatically refreshing after state changes #193

Aran-Fey opened this issue Dec 7, 2024 · 0 comments
Labels
enhancement Improves on existing functionality - NOT a new feature

Comments

@Aran-Fey
Copy link
Contributor

Aran-Fey commented Dec 7, 2024

Currently, the GUI is only updated after an event handler returns or when force_refresh() is called. It would arguably be more intuitive if state changes automatically triggered a refresh (say with a delay of 100ms or so).

One potential problem with this is that a component might be rebuilt while it's in an inconsistent state. However, that can only happen if the user's code has an await statement in the middle.

@Aran-Fey Aran-Fey added the enhancement Improves on existing functionality - NOT a new feature label Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves on existing functionality - NOT a new feature
Projects
None yet
Development

No branches or pull requests

1 participant