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
{{ message }}
This repository was archived by the owner on Jan 20, 2025. It is now read-only.
Adding products or changing the quantity while offline doesn't work and the minicart keeps loading even when user is back online, forcing user to reload the page and lose their minicart data.
This can be a problem to users with low quality networks too.
How to reproduce
Add an product in the minicart
Go offline
Change the quantity of the product in the minicart
Minicart will be in a inifine loading unless you reload the entire page
Possible solutions
simple solution: Throw an error when user tries to add products when offline and fix infinity loading minicart.
simple but better solution: Throw an warning that minicart will only be updated when internet connection is estabilshed and if the user closes the site, all minicart data will be lost.
robust solution: When internet connection is lost, store minicart data on local storage and retries to send to serve when the user is back online.
I would like to work on this issue if you guys agree it's worth to implement it :)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Adding products or changing the quantity while offline doesn't work and the minicart keeps loading even when user is back online, forcing user to reload the page and lose their minicart data.
This can be a problem to users with low quality networks too.
How to reproduce
Possible solutions
I would like to work on this issue if you guys agree it's worth to implement it :)
The text was updated successfully, but these errors were encountered: