Discriminated unions can model UI states precisely, helping TypeScript ensure each state is handled correctly.
Question 15 of 20 in React TypeScript Quiz