Pergunta de entrevista da empresa Ramsoft

When would you use React hooks?