Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Proper way of passing two dcc.Store to one callback?

$
0
0

Hi.
As per according to official docs, since you need to pass both the store and data of a dcc.Store to a callback for some code, I was trying to get a hold on passing two different dcc.Store, but it seems things get mix up, no matter the position of the arguments?

In my code, just suppose I have s header store and a body store. When using both of them in a single callback in order to update some other component, the stores get mix up: body info gets into header info, same for the data arguments. I think this is related to the position of the arguments inside the callback function.

So what’s the proper way of passing two different stores to a same callback?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles