Design comparison
SolutionDesign
Solution retrospective
Any Feedback Appreciated
Community feedback
- @DennyIsNaivePosted 11 months ago
Hi, it seems you can't change the quote when you click on the dice button. This is because the data is being cached and when you click on the dice, it returns the cached data again. To fix this, make sure no data is cached at all buy setting cache to no-cache like so :
fetch(apiUrl, {cache: 'no-cache',})
. I hope this helps XD0
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