Description
Describe the bug
The slider() component does not trigger updates or re-render downstream logic when the slider is moved. The UI only updates if the page is manually refreshed or the script is re-executed.
To Reproduce
Steps to reproduce the behavior:
- Go to 'threshold = slider("Threshold", min_val=0, max_val=100)'
- Do not use threshold.value anywhere else
- Move the slider
- Observe that the UI does not react or re-render any component
Expected behavior
I expected moving the slider to automatically trigger updates in dependent components or show some indication of interactivity.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:
- OS: macOS Ventura
- Browser: chrome
- Version: Cloud app
Additional context
After experimenting, I found that the slider only works when threshold.value is explicitly referenced in logic (e.g., filtering a dataframe). This makes sense based on the DAG model, but it might be confusing for new users. It would help to:
-Include better documentation around reactive input usage
-Offer a visual debugger or “reactive graph” view to show what's connected