Submitted about 1 year agoA solution to the REST Countries API with color theme switcher challenge
Rest Countries theme switcher
react, tailwind-css, typescript, shadcn
@AliSherTR

Solution retrospective
What are you most proud of, and what would you do differently next time?
I am proud that I completed this challenge in only 5 hours
What challenges did you encounter, and how did you overcome them?Performance issue for rendering 250 countries, so I used infinite scroll and useCallBack hook to resolve the performance issues and another one was to filter the countries based on the input or select value so I programmed it in a way that no api call would be done when input or select value changes
What specific areas of your project would you like help with?none
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Ali Sher Khan'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