-
Notifications
You must be signed in to change notification settings - Fork 51
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
Alice B. - Earth #27
base: master
Are you sure you want to change the base?
Alice B. - Earth #27
Conversation
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.
Well done Alice you hit the learning goals here. Well done. You have a very functional Exquisite Corpse game and made all the tests pass.
const formatLine = FIELDS.map((field) => { | ||
if (field.key) { | ||
return line[field.key]; | ||
} else { | ||
return field; | ||
} | ||
}).join(' '); |
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.
Everything in here should have a key as well.
Assignment Submission: Exquisite React
Congratulations! You're submitting your assignment. Please reflect on the assignment with these questions.
Reflection
Describe the relationships between the components on a high-level: which components were siblings? Which components were nested within each other? | Game was nested in the app, the other components were nested inside Game and were all siblings of each other.
How did this project differ from in-class examples? | All three sibling components needed access to some of state that was inside Game.
How was this project similar to in-class examples? | Using state and props are similar.