If your component has state or a lifecycle method(s), use a Class component. or else, use a Functional component