apollographql / apollographql/fullstack-tutorial
Cart is empty after page reload
- Langage dominant
- TypeScript
- Étoiles
- 1.2k
- Forks
- 808
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
After adding an item to the cart, then clicking on cart, the item appears as expected. But when you reload the web page in the browser the cart becomes empty.
Also, after adding an item to the cart, the button becomes "REMOVE FROM CART". Then when that web page is reloaded, the same button reverts to "ADD TO CART".
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Aucun fichier ni test n’est indiqué. Reproduisez d’abord le comportement lors du rechargement, puis suivez la manière dont l’état du panier React est stocké et restauré via le client Apollo/GraphQL. C’est terminé lorsqu’un élément ajouté et son état REMOVE FROM CART persistent après le rechargement de la page.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- graphql, react, typescript
- Domaine
- frontend
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100