✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Callback to set attribute and another callback to use the attribute


I’ve read that callback cannot return more than one Output.
Also, I found that callback will fire randomly.
Is there any suggestion for case like this:

First, I have a callback to set class state. Actually, I fetch a large data from BigQuery.
Then I want to use the data in many Components at once (5 component).

Is there any method to let the callback fetch the data and set the state first, then the other callback can use the data. Or is there any alternative to this? Thanks.

Note: Due to a large data, I can’t create more than one callback that fetch the data and Output it to single component.

I think I got the answer here: https://dash.plot.ly/sharing-data-between-callbacks

Great! If you need more help on the Dash side, please use the “Dash” forum category. Thanks!