Submitted about 2 years ago
rest countries api app using react and tailwind css
@victoriacheng15
Design comparison
SolutionDesign
Solution retrospective
This challenge was fun. I learned about useContext and a bit about useReduer. I see a huge advantage of useContext since it allows you to avoid props drilling as much as possible, and it does make your code so much cleaner without all these props.
Also, I decided to add pagination (no pagination related packages) for this, so the users can go to next page for more countries.
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