0
Challenge · 05React Core
Rendering
Coreused in ~100% of apps
Your component function runs many times over its life — internalize this or async/state bugs will haunt you.
Core idea. Rendering is React calling your component to get JSX; it happens on mount and again on every state/prop change, then React patches only what changed.
poke it, drag it,
try to break it
try to break it
no slides here.
you drive.
you drive.
Playground, this isn't a screenshot
Live demointeractive
This component function has run 1 time(s). Each state change re-runs it.
↑ play a little first, then dig in