Transcript

Kent C. Dodds: 0:00 Let's get going on this useState hook. We're going to make a greeting component. I want you to take a look at some of this background. We give you kind of an intro to hooks in general, before you get started on the exercise. I give a really simple version of using the useState hook. Then, I explain how a state is managed over time with React in our function components.

0:25 For the exercise, what we're building is just some input here where you can start typing your name. In the final version, it says, "Hello to you," so "Hello, Kent!" Isn't that great? That's what you're going to be working on and building. Read through that background information. Don't forget to take a look at the extra credit, and I'll see you on the other side of the exercise.