-
Notifications
You must be signed in to change notification settings - Fork 50
alex.garcia.atx.advanced1 #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
-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.
ivome
left a comment
There was a problem hiding this 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"; | |||
There was a problem hiding this comment.
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) { |
There was a problem hiding this comment.
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
No description provided.