I have a big one-page app (going to the App Store and Google Play). To minimize the main page I rely heavily on Reusable elements. It’s the REs that actually show stuff.
To control data loading I pre-populate states in the REs will complete lists. The REs then filter out the data to show depending on the situation (what categories/products/stock to show).
However, I still have a hiding shape that I fade out after 0.5 secs. This so that the filter has time to complete and the browser has time to (re)render the Repeating groups that show the filtered data from the states (I don’t want any element showing from the prior list however briefly).
Since the categories, products, and stock can change I in the database and the states do not automatically get updated, I redo a load of data to the states every 60 secs. I think Bubble we discover that if the data is the same and do nothing.
Even if I were to use populate the RGs in the REs with normal searches, I still as a complementary precaution, do a forced check (search) on the availability of the product in the database when the customer selects it. This to ensure the customer cannot put an item in the shopping cart even if it went out of stock just moments ago.