Submitted over 3 years ago
Rest Countries API React Js, Router, Styled Components, Context API
@lc-dev90
Design comparison
SolutionDesign
Solution retrospective
Hi everybody!
This is my first React JS project, I have about 2 weeks of experience in React JS I'm totally new in this world.
I have some questions:
-
If I enter on details information page (when the user clicks in the card countrie) and make a refresh, I can't get back the data and the user have to get back to homepage. How can I improve this?
-
I have made multiple context files, one for search term (input text) another for select (to filter countries), how can I make only one context file and mix all states togheter?
All suggestions are welcome, thank you for reading this and happy coding! :)
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