Problem Description

Update document.title when a piece of state changes.

Input Format

No input.

Output Format

Render a React component.

Constraints

Use useEffect to write title and keep it in sync.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next