MRI Software interview question

Why were functional components introduced in React?