scrimba
Learn React - Side Effects (Section 4)
useEffect quiz!
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

useEffect quiz!
AboutCommentsNotes
useEffect quiz!
Expand for more info
quiz.md
run
preview
console
1. In what way are React components meant to be "pure functions"



2. What is a "side effect" in React? What are some examples?



3. What is NOT a "side effect" in React? Examples?



4. When does React run your useEffect function? When does it NOT run
the effect function?



5. How would you explain what the "dependecies array" is?

Console
"Rendered!"
,
"Effect ran"
,
"Rendered!"
,
"Rendered!"
,
"Rendered!"
,
"Rendered!"
,
"Rendered!"
,
/index.html
-4:56