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

Refactor item quantity selection logic #228

Closed
wants to merge 1 commit into from

Conversation

Dinex-dev
Copy link

@Dinex-dev Dinex-dev commented Dec 24, 2023

This pull request refactors the item quantity selection logic in the Item component. This considerably improves performance from previous method when stock of a item variant is very large.

fixes #229

Copy link

vercel bot commented Dec 24, 2023

@Dinex-dev is attempting to deploy a commit to the medusajs Team on Vercel.

A member of the Team first needs to authorize it.

@VariableVic
Copy link
Collaborator

Thanks for this, nice catch! Not gonna merge it as I'm working on a big Starter update atm, but I've added your solution in there.

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

Successfully merging this pull request may close these issues.

Cart Page was loading very slow
2 participants