Components come in two types, Class components and Function components, in this tutorial we will concentrate on Class components.
When creating a React component, the component’s name must start with an upper case letter.
The component has to include the
extends React.Component statement, this statement creates an inheritance to React.Component, and gives your component access to React.Component’s functions.
The component also requires a
render() method, this method returns HTML.