LEARN BY WATCHING
Understanding refs
Compare mutable ref storage with a state snapshot.
01A ref stores a value between renders.PAUSED
CODEReact · TSX
ClickNotebook.tsx
Press Play to build the code.
Building, one concept at a time0 lines
REACT VISUALIZATION
Let’s make the invisible visible.Your code will come to life here.
↳Changing ref.current does not request a render.
Conceptual modelRef mutation → no render; state update → render → commit
EXECUTION TIMELINE0 events
Every cause. Every effect.Execution events appear as the lesson plays.
LIVE PREVIEWFollowing execution
Waiting for the first commitFollow the execution to the live UI.
Loading progress…A guided mental model of React behavior.