Design comparison
SolutionDesign
Community feedback
- @DennyIsNaivePosted 12 months ago
It seems the quotes don't update at all, this is because data is being cached. To resolve this, we have to tell the browser not to cache any data to memory. You can explicitly do this by adding a little code to the fetch method like so :
const response = await fetch(url{cache: 'no-cache'});
I hope this helps XD
Marked as helpful1@ArbAnk007Posted 12 months ago@DennyIsNaive Thanks for pointing out the issue and I checked it and found that the URL which I used was just for advice number 117. So I just corrected the URL.
Thanks again :)
1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord