REST Countries API

Solution retrospective
making a custom hook and implementing some new things in my code such as modal component and forwardRef and many other things I don't remember TBH.
What challenges did you encounter, and how did you overcome them?Opening the modal using context api was a pain but i cancelled that idea as the code didn't work asynchronously so i went back to prop drilling (well it's not prob drilling because i passed the functions to one component only) and i was gonna use useReducer instead of useState but the state updating functions was not complicated so I canceled that idea.
What specific areas of your project would you like help with?Any feedback is appreciated
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on abdalla shaker'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