Black Lives Matter. Please consider donating to Black Girls Code today.

Indicate "loading" to the user

(So, I’m rather a newbie with this entire technology stack. I did do a search to see if my question has already been answered previously, but didn’t find anything helpful.)

I need some advice. My dashboard makes REST calls to a separate service to gather data. One of the calls gets triggered by the value change of a dropdown and the query takes a few seconds to complete. I’m not at the stage of optimizing the dashboard’s performance, so I’d like instead to show something that indicates to the user that data is loading. Does Dash have anything for this? Or is this something I need to implement in JS? Or…some other option? I’m feeling a little clueless here, so any guidance would help a lot.

See 📣 Dash Loading States. And welcome to Dash!

1 Like

This works like a charm. Thanks!