Rest countries web app using react, redux andtailwind
Design comparison
Solution retrospective
This is my 2nd attempt on this challenge just to see and asses my improvement compared to previous one. If anyone is going through the code and you find something where I can improve, please let me know. Thanks
Community feedback
- @iLiranSPosted over 2 years ago
hey , first of all good job 😄 , but quick question , I've noticed that your website fetch data on every filter change right? Instead of just filtering the existing data. moreover ,I'm enjoying my way and didn't learn react router and MPA yet but isn't it possible to save the data on first mount and prevent fetching anymore even if you go on specific page?
1@SandeepGumastePosted over 2 years ago@iLiranS Thanks!! It is possible to filter with existing data, which is how I had implemented in the previous solution. In this one I'm fetching for every filter change and for every country, and I tried to cover the possible error cases.
0
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