Skip to content

Leah - Space#34

Open
leahwho wants to merge 10 commits intoAda-C13:masterfrom
leahwho:master
Open

Leah - Space#34
leahwho wants to merge 10 commits intoAda-C13:masterfrom
leahwho:master

Conversation

@leahwho
Copy link

@leahwho leahwho commented Apr 23, 2020

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 keeps track of qualities/data/information about components; it's tracking the status of things we need to be able to change and control. We can use state for lots of things, but it is incredibly useful for passing information around to different components to trigger various effects, behavior, appearance, etc. It's essentially used for dynamic data tracking.
Describe the relationships between the components on a high-level: which components were siblings? Which components were nested within each other? Sibling components were the player submission form, recent submission, and final poem. Their parent was the game, and its parent was the app. The app renders the game, and the game rendered the other components.
How did this project differ from in-class examples? This project was different in that we needed to find a way to display components conditionally - in the Ada Students example, there was not the need to display a student based on the state of another component. There were also sibling components which was not the case in the in-class examples.
How was this project similar to in-class examples? There was nesting, conditional styling, state, component rendering, mapping of an array into component elements, event handling of clicks and submits.

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