1. 1
    Handle an Input with React useState Hook
    1m 53s

Handle an Input with React useState Hook

InstructorGosha Arinich

Share this video with your friends

Send Tweet

Learn to use one of the built-in React hooks, useState, to make a single controlled input work.

We'll do this by creating a name state variable, and a handleNameChange function to update that state variable.

Note: you need to be using a version of React that supports Hooks (versions 16.8.0 and higher)