vuejs-firebase-shopping-cart
vuejs-firebase-shopping-cart copied to clipboard
Storing products on client side vs querying
Is it optimal to store all products in (vuex) store? In case of haveing huge shop, storing thunders/thousands of products is not so optimal in sense of clients memory comsumption. How about lazy loading of products, and querying products from server based on users criteria?
You're right. We can do simple pagination and lazy load when querying products. Feel free to create a pull request 👍
There is also topic on vue forum related to this issue.