O GoConqr está de visual novo! Conte para nós o que você achou.

Módulo 7 de 28 · Mídia

Rendering component to DOM

Kostas Diakogiannis

Rendering component to DOM

Rendering component to DOM

You can mount whatever a component's render function returns, to the DOM by using the ReactDOM.render method. Specify the component or some JSX as first argument, and the entry point on your HTML, in our case a div with id attribute of 'app'.

Then, whatever the component's render function returns, will replace the element with the given id.

Instruções

Para avançar no curso, envie uma tentativa deste quiz. Você pode enviá-la depois da última pergunta.

Ir para o módulo escolhido

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?