Search⌘ K
AI Features

Quiz: Refs and DOM Control

Test your knowledge of refs and DOM control.

We'll cover the following...
Technical Quiz
1.

What is the main purpose of useRef?

A.

To trigger re-renders

B.

To store values that persist across renders without re-rendering

C.

To manage global state

D.

To replace useState


1 / 10
...