I have the following scenario:
- a callback that fetches N entries from my API
- entries are returned as an output of a callback and stored in a hidden div
- a table is created in the layout by using the data from the hidden div
This is straight-forward and works ok. However, I have pagination in the API and I want to fetch the first page, show it in the table and then keep fetching next pages and concat the results to the already existing table, silently.
I am unsure how to get this done. Is there a Dash way of doing something like this? Is a hidden div necessary for storing the data (I inherited the project with such a setup) or should my approach be different?