Flag country API challenge with React

Solution retrospective
I am proud of finishing this challenge I actually learned a lot about react router and react query libraries which will serve me well into the future. I don't think I'd do anything else differently next time other than actually properly documenting the project which is something I need to work on more for the next projects.
What challenges did you encounter, and how did you overcome them?There were some random challenges I faced which I overcame pretty easily after I read the docs, for example inconsistent API response for country detail page, the whole issue was cuz I didn't add
?fullText=true
to my query and that meant some countries weren't displayed correctly cuz the names were pretty similar.
Just overall code structure and maybe some helpful tips about how react works which is not discussed elsewhere.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Abdul-luh
You have done a wonderful job mate, I like how you utilized react query and context api to set up the dark view and fetched it before using in the app
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