State generally refers to data or properties that need to be tracking in an application. The useState Hook allows you to declare only one state variable (of any type) at a time, like this: import React, { useState } from 'react'; const Message= () => { const messageState = useState( '' ); const listState = useState( [] ); } useState takes the initial value of the state variable as an argument. Imagine a situation when you have a checkbox input and need to store users' choice (a boolean value) in the state. When the user types on your <input> element, the onChange event handler function will create an event object and pass . This takes the event (e) and passes it to the setFormData() function. At this point, when you fill the form and click on the submit button, the data is displayed on the page. I am using the onChange event that will watch the input changes and update . 2. Step 1 Creating a Basic Form with JSX. Last on the agenda is setting up the ContactList.jsx to display the contacts state data. Pass the handleSubmit function to an onSubmit event listener in the