Kanika637 / amazon-clone

Clone of Amazon Website
MIT License
89 stars 101 forks source link

Refactor repeated product component inside home component #86

Closed monciego closed 2 years ago

monciego commented 2 years ago

Refactor the repeated code inside the home component to follow the dry principle in programming. This can be done by using the map method. And much better if we separate the data and store to a json file.

Kanika637 commented 2 years ago

Hey @monciego, Thanks for opening the issue🙌, but I think right now we don't actually require this enhancement.