πŸ“Š React Js
Q. Which of these is a controlled component in React?
  • (A) An input element with value controlled by React state
  • (B) An input element with defaultValue attribute
  • (C) An input element with no value attribute
  • (D) An uncontrolled input
πŸ’¬ Discuss
βœ… Correct Answer: (A) An input element with value controlled by React state

Explanation: Controlled components have their value driven by React state.

Explanation by: Mr. Dubey
Controlled components have their value driven by React state.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
55
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
99%
Success Rate