Skip to content

Conversation

@sharonkeikei
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" in React is like the instance variables in Ruby, and using 'useState' allows us to have components with data they remember internally and change over time.
Describe the relationships between the components on a high-level: which components were siblings? Which components were nested within each other? Game.js is the parent component for RecentSubmission, PlayerSubmissionForm, and FinalPoem components, which are siblings.
How did this project differ from in-class examples? Our in-class example of Students is mainly working on app.js, but this project is mainly working in the Game.js and we added on conditional rendering in this project, which increase the ability to interact with the user. And for the Student sample, there is already a list of data, but in this project, we completely rely on user to input the words that would be used in the poem.
How was this project similar to in-class examples? The logic and processes are similar. They both have similar event handler - with the form taking input from user and click buttons to do certain things.

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