 Now, component functions are fairly limited in their functionality. They take arguments and then render out some type of react element using those arguments. We can also define components with a class. And while under the hood, these class components are also still functions, they give our components a lot of special powers that we'll learn about through the rest of this course. So let's define this greeting component as a class. So class greeting, we're going to extend here, react's base class, which is just component. Once we've done that, every component needs to have a render method, and that will be exactly like we did in our function version, we're going to return an h1 with react props.name and h1. Now we run into a little something here where we don't actually get props as an argument. Those are going to be on the class. So we'll use this, but apart from that, it works exactly like our function version. Now that component's mostly done, but I do have some other things in mind. So I'd like to make a clap counter next. Let's define that now of a class called clap counter, it extends the base react component, and that has to have a render method, which returns, let's just do a div, it says clap counter, just so we know it's there.