Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumReactcontrolled vs uncontrolledSingle-choice MCQ

An input is rendered as <input value={value} /> with no onChange handler. What happens when the user types, and why?

function Field() { const [value] = React.useState('hi'); return <input value={value} />; }