streamlit-observable icon indicating copy to clipboard operation
streamlit-observable copied to clipboard

Debounce updates from component

Open resivalex opened this issue 2 years ago • 0 comments

Hi, @asg017. Your package is amazing!

I noticed a problem with frequent updates. Streamlit reloads a whole page and resets its state. You can see it also in your demonstration, just move a slider continuously for several seconds. I found out that the problem isn't connected with streamlit-observable and it also exists in the latest version of Streamlit.

I suggest adding an option for debouncing frequent updates. I'll return with pull request soon.

resivalex avatar Jul 03 '22 19:07 resivalex