@MojtabaMosavi
Posted
1- One of main ideas is react is to break down a UI into resuable components which once composed make the UI. The question one might ask is what is the advantages do we gain be defining resuable components ?
Let's use an example from you solution to clarify this, the product thumbnails is perfect candidate because suppose when you add a new sneaker to you store you don't need to rewrite all the markup you only resue the one you already have. You create a temple for the thumbnail that can adpot to any four images the you pass to it through props.
Keep coding :=)
@orkhai
Posted
@MojtabaMosavi thanks a lot for your feedback. I'd take note of this, I guess I didn't pay much attention to that because it's a small app but I really appreciate the feedback.