GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Modul 7 von 28 · Medien

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.

Anleitung

Um im Kurs weiterzukommen, sende einen Versuch dieses Quiz ab. Du kannst ihn nach der letzten Frage absenden.

Zum gewählten Modul

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck