Pergunta de entrevista da empresa Digital Triumph

definition and purpose of useState and useEffect?