Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storing products on client side vs querying #5

Open
d21d3q opened this issue Dec 1, 2017 · 2 comments
Open

Storing products on client side vs querying #5

d21d3q opened this issue Dec 1, 2017 · 2 comments

Comments

@d21d3q
Copy link

d21d3q commented Dec 1, 2017

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?

@ittus
Copy link
Owner

ittus commented Dec 4, 2017

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

@d21d3q
Copy link
Author

d21d3q commented Dec 4, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants