Report Bug

QusWhat is the difference between controlled and uncontrolled components in React? QusWhat is the difference between controlled and uncontrolled components in React?


A. Controlled components rely on state for managing their data, while uncontrolled components do not.
B. Controlled components allow user input to directly update the component's state, while uncontrolled components do not.
C. Controlled components are created using classes, while uncontrolled components are created using functions.
D. There is no difference; the terms are used interchangeably.


Solution
A. Controlled components rely on state for managing their data, while uncontrolled components do not.



CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz