If your component has a state or lifecycle method, use Class component. Else, a Functional component.

BY Best Interview Question ON 13 Jan 2019