(params) {}`` syntax, as well. Inside the event handlers you must always use the setter function we defined in ``setState`` to update the component's state. The function takes a single object that defines the state variables to be updated and their new values. In these two cases, we set the ``email`` and ``password`` values of the state to the value the user had typed into the input field (accessible via the ``ev.target.value``).
At this point there is no visual result of updating the state. To see an effect, we will add an event listener for the form submission:
.. code-block:: jsx