Skip to content

Space - Sara Nilsen#26

Open
sarabrandao21 wants to merge 8 commits intoAda-C13:masterfrom
sarabrandao21:master
Open

Space - Sara Nilsen#26
sarabrandao21 wants to merge 8 commits intoAda-C13:masterfrom
sarabrandao21:master

Conversation

@sarabrandao21
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? It used when you need to keep track of actions, each component can have as many states it needs, when the object state changes, it re-render the component.
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. Game is the child of App. Game component has final poem, recent submission, and player submission form. I created another component called Input that is the child of player submission form.
How did this project differ from in-class examples? the app was not responsible for the complicated logic, game component had more power in controlling the game. I had to think a lot more props, how to give data and receive data. Also had to use conditional styling.
How was this project similar to in-class examples? Player submission form felt really similar to in class example. I had onInputClass where handles events.

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