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

Fire - Ren #34

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

Fire - Ren #34

wants to merge 15 commits into from

Conversation

RenCarothers
Copy link

@RenCarothers RenCarothers 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? State allows us to change the current status of something. We can use state and event handlers to modify the value of input fields in a form so that we do not have to read from the DOM directly, making dynamic forms.
Describe the relationships between the components on a high-level: which components were siblings? Which components were nested within each other? The final poem, form and recent submission were all children (on the same "level" as each other) of game, their parent. Game was a child of App.
How did this project differ from in-class examples? This project went further than the students example, but built on those concepts. In essence, form handed information to game, which provided information to recent submission, which updated final poem (but not directly, it got handed back through game, because the children don't have access to each other).
How was this project similar to in-class examples? We used state and event handlers on our form input fields and form field validations.

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