React and TypeScript React and TypeScript

Typing Hooks & Component Exercise

Learning Paths:
Check out a free preview of the full React and TypeScript course:
The "Typing Hooks & Component Exercise" Lesson is part of the full, React and TypeScript course featured in this preview video. Here's what you'd learn in this lesson:

Students are instructed to add events to the hook-based example while adhering to TypeScript type checking.

Get Unlimited Access Now

Transcript from the "Typing Hooks & Component Exercise" Lesson

[00:00:00]
>> Now it is your turn, my turn for what? We're doing again, this time, you're gonna do it with the hook space example, right? We're just gonna wire it up, real quick with the three buttons. This one, you can kind of get a sense to try it. You can try to make the form work, if you want, but spend a few minutes, getting it working with the Hooks example.

[00:00:21] And then we'll kind of go through it together and just see how some of the stuff from the classmates example might also apply to the Hooks base example as well.