@dillon-porter
Posted
Hi Tariqul,
To help with your code to show an advice quote instantaneous try adding:
{cache: "no-cache"} at the end of your fetch API call.
For example,
fetch('https://api.adviceslip.com/advice', {cache: "no-cache"})
Hope this helps!
Marked as helpful
@Tariqul-huda
Posted
@dillon-porter Thank you so much for the feedback! Now, It works the way I want.
@dillon-porter
Posted
@Tariqul-huda No problem!