Pergunta de entrevista da empresa Invillia

How does useState work? Can you explain the DOM?