Fabelio Interview Question

Functional or class component? Why?