Problem Description

Track how many times a component re-rendered and show it on screen.

Input Format

No input.

Output Format

Render a React component.

Constraints

Use a ref that increments on every render.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next