Hi guys,
I wanted to create a dcc.Store component with an id of “type”:xyz and “index”:abc inside a callback. In this callback I also create e.g. a dropdown menue with the same index. However, I always get the dash error “A nonexistent object was used in an Output of a Dash callback…” for the callback that should fill this storage.
If I move the creation of the storage into the layout of the app, everything works fine. So what I am currently doing is creating a lot of storages in the layout and hope that I never dynamically create more indices than that
*[dcc.Store(id={“type”: “store”, “index”: i}, storage_type=“session”) for i in range(20)]
Do you guys have any idea how I could solve this problem?
Best,
Julius