Skip to content

Space - Jessica#38

Open
seaweeddol wants to merge 23 commits intoAda-C13:masterfrom
seaweeddol:master
Open

Space - Jessica#38
seaweeddol wants to merge 23 commits intoAda-C13:masterfrom
seaweeddol:master

Conversation

@seaweeddol
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 is a variable that holds onto a value inside of a component, and can be changed over time.
Describe the relationships between the components on a high-level: which components were siblings? Which components were nested within each other? Game was nested within App, and the rest of the components were nested within Game. The FinalPoem, RecentSubmission, and PlayerSubmissionForm components were siblings to each other and children to Game as they all received props from Game.
How did this project differ from in-class examples? This project did not have any requirement to update previous inputs, so I didn't need to include an ID on each submission or create an update function. In this project I had to convert the input provided into a single string to pass to some of the child components.
How was this project similar to in-class examples? There were a lot of elements that I was able to pull from Ada Students and form-exercises, like the submit callback and onChange input event listener.

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