← React Beginner Questions - Set 11 Q110

What are controlled components in React?

React Beginner Questions - Set 11

Example

<select value={plan} onChange={e => setPlan(e.target.value)}>
  <option value="free">Free</option>
</select>

What to notice

← Back to the question list