Perbedaan antara react.functionComponent dan react.component

import React, { Component } from "react";

class ClassComponent extends Component {
 render() {
   return <h1>Hello, world</h1>;
 }
}
Bhela