Responsive Advice Generator involving a fetch to the API.

Solution retrospective
I was not sure about the best place to put the actual fetch request - in the client component, in the Page.tsx file or as a seperate file. in the end I chose a seperate file to fetch the data. Is this the best approach?
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Jake Campbell's solution.
Join 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