Become a member
to unlock all features

    Update React Application State from Form Input

    15 - 16

    We’ll add a handler to the form so we can take new input and use it to update the application state. We’ll append new items to the list with the AddTodo function and replace the todos list in state. We’ll also clear out our form so it can accept new todos.