Skip to content

Conversation

@psc478
Copy link

@psc478 psc478 commented Jan 29, 2018

No description provided.

@@ -0,0 +1,65 @@
import React from "react";

function ProductDetail(props) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like you were experimenting with things trying to figure out how props works, which is good.
But you should probably go back and try to code it the way the readme describes.
You can't hard code 5 product details, that is not realistic to how real apps work.
Where is your use of the map function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants