This is a short practice activity to develop more experience with the controlled component pattern in React.
- Choose one driver to type and share their screen.
- Personal recommendation: choose the less confident react developer to drive. I find both partners get more out of the exercise this way.
- Fork and clone this repo, and then install dependencies with
npm install
- Start up the app with
npm start
and investigate the source code a little bit. With your partner, discuss the following:- What is the purpose of this application?
- What is the purpose of the form?
- Diagram the component tree of this app
- Why can't you type into the text inputs in the form?
- Complete the
handleTextChange
function in theQueueSignupForm
component- How will you and your partner test to see if
handleTextChange
is working?
- How will you and your partner test to see if
- Complete the
handleSubmit
function in theQueueSignupForm
component- How will you and your partner test to see if
handleSubmit
is working?
- How will you and your partner test to see if