Design comparison
SolutionDesign
Solution retrospective
Overview
I learned how to create a custom hooks to separate the fetching advice logic from the component. This makes the fetching advice logic reusable.
Also added a loading spinner when the advice is getting fetched from the API.
Community feedback
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