Skip to content
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

Water - Sophia #37

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Water - Sophia #37

wants to merge 13 commits into from

Conversation

SoCodeDo
Copy link

@SoCodeDo SoCodeDo commented Jan 8, 2021

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? A state is a variable that can be changed within the component. We use it when we want to be able to change data in the component when the user does something in the app, like click a button, enter data etc (i.e. to help handle events)
Describe the relationships between the components on a high-level: which components were siblings? Which components were nested within each other? App is the parent component. It has a child called game. Game has 3 children, which are final poem, player submission form, and recent submissions. Those 3 children are siblings and are nested with each other inside game.
How did this project differ from in-class examples? There were more nested components
How was this project similar to in-class examples? They both use props and states to make the app more effective.

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