scrimba
Learn React for free
React Functional Components
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

To see this lesson you need to be logged in. Joining Scrimba is free and gives you access to 20+ courses.Sign up
React Functional Components
AboutCommentsNotes
React Functional Components
Expand for more info
index.js
run
preview
console
import React from "react"
import ReactDOM from "react-dom"

ReactDOM.render(
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
</ul>,
document.getElementById("root")
)
Console
index.html
-3:52