![](https://res.cloudinary.com/dz209s6jk/image/upload/f_auto,q_auto,w_900/Screenshots/vsjfuk4xrukzrbzvazqu.jpg)
Submitted over 1 year ago
REST API Countries
#axios#react#sass/scss#react-router
@saswat10
Design comparison
SolutionDesign
Solution retrospective
problems
- naming classes in css
- dividing the react components into smaller chunks, like which would make the code more reusable
unsure areas
- displaying the currencies and native names in international format
questions
- how can I make use of
useMemo
anduseCallback
for making fetch reqeusts? - what are the best practices for optimizing the search component (it is in the CountryList.jsx file)?
- how to break down components and make code DRY?
GENERAL QUESTION How do you start your project - like do you first start writing the logic and add design or do you study the design first and make classes and then add logic?
Any other suggestions are open, please free to answer, It would help me a lot
Community feedback
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