Skip to content

Conversation

@aleexga
Copy link

@aleexga aleexga commented Apr 30, 2017

No description provided.

aleexga added 6 commits April 19, 2017 19:15
-Created 7 components
-Created UserDetail and ListofUsers
-Imported them and used components in App
Need to organize components within page.
Address Book in Alphabetical Order!
Still need to fix state: visible.
Copy link

@ivome ivome left a comment

Choose a reason for hiding this comment

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

Great job!!

@@ -0,0 +1,27 @@
import React from "react";
import "./App.css";
import users from "../users";
Copy link

Choose a reason for hiding this comment

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

Better import the users in the index.js and then pass them down as props. That way this component would be reusable... Right now you have a hard dependency in there.

);
}

function printUsers(user) {
Copy link

Choose a reason for hiding this comment

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

Naming: In react, the users are not really printed... render would probably be more accurate

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