Question 1: What happens when setState is called multiple times synchronously in React?
- State updates immediately
- Each call overrides the previous one
- Updates may be batched
- Component does not re-render
Explanation: React may batch multiple state updates for performance reasons.