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 - Kayla #42

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

Water - Kayla #42

wants to merge 30 commits into from

Conversation

Kaylaj89
Copy link

@Kaylaj89 Kaylaj89 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 represents data in a component that changes over time (between renders). It is managed within the component and can only be updated via 'setState'. Unlike props, which is used to pass data, state is used for data management.
Describe the relationships between the components on a high-level: which components were siblings? Which components were nested within each other? The App holds Game and then Game holds 3 siblings (Recent Submissions, the Form, and Final Poem) which are nested in Game)
How did this project differ from in-class examples? The conditional rendering was different, but I think Ida and I did something like this in tic-tac toe to render the winner tag (thanks to Ansel).
How was this project similar to in-class examples? The Callbacks and use of props for sharing data between siblings/nested items as well as controlled form

Kaylaj89 and others added 30 commits January 5, 2021 21:37
…lso changed FIELDS name to 'input' to get error message to go away
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