¡GoConqr estrena diseño! Cuéntanos qué te parece.

Módulo 7 de 28 · Multimedia

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.

Instrucciones

Para avanzar en el curso, envía un intento de este test. Puedes enviarlo después de la última pregunta.

Ir al módulo elegido

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?