All countries of the world, gotten from REST-countries-api

Solution retrospective
The project was relatively straight forward but I got myself into quite a tight corner when I used the v3 of the API for the landing page request that returns all countries but used the v2 for the single country request. I had to really study the returned JSON from both API calls to resolve naming conflicts between both versions. Also a few countries return 404 if called with the official name
parameter on v2, had to include an error page.
I equally got familiar with passing around state between routes while navigating with react-router-dom.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Ibenyenwa Charles'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