Components are just classes. In fact, when you implement a component using ES2015 class syntax, you extend the base Component class from React. You can keep on extending your classes like this to create your own base components.
In this section, you'll see how your components can inherit state, properties, and just about anything else, including JSX markup and event handlers.