In what cases would you use a Class Component over a Functional Component?
If your component has a state or lifecycle method, use Class component. Else, a Functional component.
BY Best Interview Question ON 13 Jan 2019