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()
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
0
✏️ Responder
Para escrever sua resposta aqui, entre ou crie uma conta
Compartilhar