Problem Description

Create a like button that updates UI immediately and then confirms.

Input Format

No input.

Output Format

Render a React component.

Constraints

Update state first, then simulate server with a delay.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next