@devmor-j
Posted
Awesome 😍 looks good and well written. Though I guess there is a small bug that prevents fetching new advice on Firefox browsers. I had the same problem and that was related to cache procsss. Hopefully this bug is fixed by adding {cache: 'no-store'}
option to your fetch call like so:
const response = await fetch(adviceApiUrl, {cache: 'no-store'});
Though some styles are customized and diverge from the requested design like font-familiy and color contrast but overall looks pretty good. Btw I really liked that loading cube 😁 Have fun coding, cheers.
Marked as helpful
@ninaokumura
Posted
@devmor-j I fixed it with your suggestion 🙂 Thanks a lot for your feedback! And btw, the loading cube is from react-spinners-kit.
Happy coding 💻
@devmor-j
Posted
@ninaokumura Nice, I will try react-spinners-kit in my next react project thank you.