Quantrium interview question

They asked me about React hooks