Skip to content

Time - Yesenia#35

Open
yesentorres wants to merge 4 commits intoAda-C13:masterfrom
yesentorres:master
Open

Time - Yesenia#35
yesentorres wants to merge 4 commits intoAda-C13:masterfrom
yesentorres:master

Conversation

@yesentorres
Copy link

Assignment Submission: Exquisite React

Congratulations! You're submitting your assignment. Please reflect on the assignment with these questions.

Reflection

Prompt Response
Define in your own words: What does "state" in React mean? How do we use it? State refers to the current value of a variable that has the ability to change and update over the lifetime of a function in React.
Describe the relationships between the components on a high-level: which components were siblings? Which components were nested within each other? App is the highest level component, which Game is nested within. Final Poem, Player Submission Form, and Recent Submission are all nested within Game. These three components are siblings.
How did this project differ from in-class examples? This project differs in that we are keeping track of all submissions that come from the Player Submission Form and sending it from Game to Final Poem. We also have another state variable keeping track of the game status.
How was this project similar to in-class examples? It is similar in that we have created a form that sends user input back to a parent component via the use of callback functions.

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.

1 participant