vuejs-firebase-shopping-cart icon indicating copy to clipboard operation
vuejs-firebase-shopping-cart copied to clipboard

Storing products on client side vs querying

Open d21d3q opened this issue 6 years ago • 2 comments

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?

d21d3q avatar Dec 01 '17 12:12 d21d3q

You're right. We can do simple pagination and lazy load when querying products. Feel free to create a pull request 👍

ittus avatar Dec 04 '17 06:12 ittus

There is also topic on vue forum related to this issue.

d21d3q avatar Dec 04 '17 07:12 d21d3q