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

Wenjie Fang - Madlib - Octos #18

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

Wenjie Fang - Madlib - Octos #18

wants to merge 4 commits into from

Conversation

wf1101
Copy link

@wf1101 wf1101 commented Jun 2, 2018

MadLib

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
Describe how you approached tying each input box to a specific work in the MadLib. I created the form component and let state control all inputs. onFormchange function allows inputs display while user typing. It converts js to DOM. onFormSubmit collects all form input data and send them to App.js by call the callback function through this.props. In App.js, the callback function calls the function onSubmit to update the seclectedMadlib. In that function, updateWord function is called to update the form data to the Madlib.
What area of React did you gain more clarity on in this assignment? Controller form. I understand how to let react component controller the inputs through state, and let inputs display while user is typing through updating the state.
What are of React do you still have outstanding questions on after this assignment? How to update state? Especially when array of objects stored in state.
Do you have any recommendations on how we could improve this project for the next cohort? It's too hard. My brain stopped working.

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