Buscar

The component lifecycle stages have special methods that can be added to the component. The component lifecycle can have three stages: mounting, up...

The component lifecycle stages have special methods that can be added to the component. The component lifecycle can have three stages: mounting, updating, and unmounting. Which of the following contains only methods from the updating stage?


a) render() and componentDidUpdate()
b) constructor(), render(), and componentDidMount()
c) render() and componentDidUpdate()
d) constructor(), render(), and componentWillUnmount()
e) constructor() and componentDidUpdate()
f) render() and componentWillUnmount()

Essa pergunta também está no material:

QUIZ SINGLE PAGE APPLICATION
8 pág.

Segurança e Auditoria de Sistemas de Informação SENAC EADSENAC EAD

💡 1 Resposta

User badge image

Ed Verified user icon

A alternativa correta que contém apenas métodos da etapa de atualização (updating) do ciclo de vida do componente é a opção c) render() and componentDidUpdate().

0
Dislike0

✏️ Responder

SetasNegritoItálicoSublinhadoTachadoCitaçãoCódigoLista numeradaLista com marcadoresSubscritoSobrescritoDiminuir recuoAumentar recuoCor da fonteCor de fundoAlinhamentoLimparInserir linkImagemFórmula

Para escrever sua resposta aqui, entre ou crie uma conta

User badge image

Outros materiais