yarn install && yarn start
Open User input example subpage.
App
has been updated to add a new comment to local state whenever a comment is submitted fromCommentForm
. This is done by passing a callback function toCommentForm
.CommentForm
has been added two text inputs, one that can be changed and one that cannot. Read the component documentation (and React official documentation) on how controlled and uncontrolled components work.