In this lecture, we will learn about class components in React with an example.
Class components make use of ES6 class and extend the Component class in React.
Sometimes called “smart” or “stateful” components as they tend to implement logic and state.
React lifecycle methods can be used inside class components (for example, componentDidMount).
You pass props down to class components and access them with this.props