Controlled vs Uncontrolled

medium

Complete guide with examples and interview questions · 30 min

Definition

Say it out loud in an interview — clear, simple, no textbook wording.

Controlled inputs mirror React state; uncontrolled inputs use refs/DOM as source of truth.

In React interviews, start with a one-sentence definition, then show a minimal component. Senior rounds go deeper on re-renders, hooks rules, and performance trade-offs.

Quick Stats
30
Minutes
medium
Difficulty
4
Interview Q's

Key takeaways

  • Controlled inputs mirror React state; uncontrolled inputs use refs/DOM as source of truth
  • Know one interview-ready example
  • State common pitfalls senior interviewers probe
  • Connect Controlled vs Uncontrolled to real component design trade-offs

Track your mastery

Sign in to save Q&A scores, coding challenge progress, points, and streaks across devices.

Sign in to save progress