You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After performing a page refresh, TAGS.cart is not revalidated correctly. This leads to potential inconsistencies between the client-side and server-side state of the cart data.
Screen.Recording.2024-11-06.at.20.18.44.mp4
The text was updated successfully, but these errors were encountered:
It appears that the issue arises from using getCart within the updateItemQuantity action, which then revalidates the tag that getCart utilizes within the same action.
When applying "no-store" to all getCart invocations within the cart actions, everything functions as expected.
Do you have any suggestions for a more optimal solution?
After performing a page refresh, TAGS.cart is not revalidated correctly. This leads to potential inconsistencies between the client-side and server-side state of the cart data.
Screen.Recording.2024-11-06.at.20.18.44.mp4
The text was updated successfully, but these errors were encountered: