Skip to content

Conversation

@FreeMonkey19
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 like an instance of an object. as players change - so does state. We use state to update the DOM and to keep track of 'moving' objects.
Describe the relationships between the components on a high-level: which components were siblings? Which components were nested within each other? App is the overall arching "parent". Then Game is the "parent" to FInalPoem, RecentSubmission and PlayerForm all of which are siblings and nested in Game.
How did this project differ from in-class examples? The main difference I saw is that prior to this project - all the work was being done in App. App was keeping track of state. But for this project all the work was being done in Game and Game was keeping track of a lot of the state. Also, input fields are new.
How was this project similar to in-class examples? The in-class form example was pretty bang on to the form here. I referenced it a lot. Also, add students to an array for in-class examples was similar to adding poemlines to an array. I found a lot more similarities than differences between in-class examples and the project itself.

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