Submitted over 1 year ago
Responsive page in React, working with API and redux toolkit
@marcin10lw
Design comparison
SolutionDesign
Solution retrospective
Hi there! I made this countries browser page. As always it was excellent learning opportunity. Working with suggested API was a tricky task. Let me know what you think!
Community feedback
- @samcynPosted over 1 year ago
This is so good. However, I recommend a few things which are by the way unnecessary. Looking at the code, I feel using redux is an over kill, Context API can be a good fit. Also saving the endpoint -"https://restcountries.com/v3.1/all" as env variables will be a good thing. And maybe adding some tests (unit test). Nice work mate.
Marked as helpful1@marcin10lwPosted over 1 year ago@samcyn Great advice! I created a context for theme and reduced amount of code
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