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

Earth - Kal #35

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

Earth - Kal #35

wants to merge 10 commits into from

Conversation

kashenafi
Copy link

@kashenafi kashenafi 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 is a property managed within the component that we use to trigger changes/functions/etc.
Describe the relationships between the components on a high-level: which components were siblings? Which components were nested within each other? PlayerSubmissionForm, FinalPoem, and RecentSubmission and those were nested in Game.
How did this project differ from in-class examples? This project felt a lot more complex in terms of managing all the various states, conditional formatting, & keeping track of what was responsible for which changes (& where).
How was this project similar to in-class examples? There were a lot of similarities with how things were communicating back & forth in the students example & how we can use controlled forms.

Copy link

@CheezItMan CheezItMan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work Kal, you have a fully functional Exquisite corpse game and you got all the tests to pass. Well done. Take a look at my note with regard to your one warning.

import './PlayerSubmissionForm.css';

const PlayerSubmissionForm = () => {
const PlayerSubmissionForm = (props) => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a note you're getting a warning when the application runs (when you type in a textbox) here because the original value of the forms are undefined and then when the user types in them they get set.

It's because the keys in props.fields, don't match the keys in wordFields.

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.

2 participants