Problem Description

Use useRef to store a mutable value without re-rendering.

Input Format

No input.

Output Format

Render a React component.

Constraints

Store click count in ref and show it when asked.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next