ga-wdi-exercises/component-extravaganza

Danielle - Password Validator

Opened this issue · 0 comments

https://github.com/daniellefricke/react-password-validator

Comfort: 2
Complete: 5 - supported heavily by solutions branch. I had 2 questions around the functionality -

Why is setState required for the input fields? I understood that the submit button would need it as it has an event listener but did not get why the input fields would need it. Is it because react is checking those for changes? Confused here.
What is the '?' doing in the render()?