Amdocs interview question

Difference between component and pure component in react