We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Use Skeleton-template
Hydrogen
2024.10.1
2.13.1
On a fresh install npm create @shopify/hydrogen@latest -- --quickstart add a console log in the CartLineItem.jsx file:
npm create @shopify/hydrogen@latest -- --quickstart
CartLineItem.jsx
export function CartLineItem({layout, line}) { const {id, merchandise} = line; const {product, title, image, selectedOptions} = merchandise; const lineItemUrl = useVariantUrl(product.handle, selectedOptions); const {close} = useAside(); console.log('line optimistic', line.isOptimistic);
line.isOptimistic should be true when adding, updating or removing a line.
line.isOptimistic
line.isOptimistic only return true when adding a line.
The text was updated successfully, but these errors were encountered:
Has anyone got a chance to look into it?
Sorry, something went wrong.
No branches or pull requests
What is the location of your example repository?
Use Skeleton-template
Which package or tool is having this issue?
Hydrogen
What version of that package or tool are you using?
2024.10.1
What version of Remix are you using?
2.13.1
Steps to Reproduce
On a fresh install
npm create @shopify/hydrogen@latest -- --quickstart
add a console log in theCartLineItem.jsx
file:Expected Behavior
line.isOptimistic
should be true when adding, updating or removing a line.Actual Behavior
line.isOptimistic
only return true when adding a line.The text was updated successfully, but these errors were encountered: