REST countries API using React

Solution retrospective
If you think there is something that I could make better, let me know.
There is a bug, you have to click the buttons twice (except te back button), I'm not pretty sure why is that I think is for the componentDidMount(), this is my first project with react so there are tools i don't use very well, if you know wich's the problem, i am open to feedbacks. I'm a begginer yet :)
Another thing, i have no idea how to avoid when te user types something in the input that doesn't receives any answer from the API, so then the page get down.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Camilo Rodriguez'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