What are the differences between controlled and uncontrolled components?



What are the differences between controlled and uncontrolled components?..

Answer / Ram Awadh Vishwakarma

Controlled components have their values managed by a React.js state, whereas uncontrolled components manage their own state internally. Controlled components are more predictable because the parent component retains control over the data, while uncontrolled components can lead to issues with inconsistent state.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More React.js Interview Questions

What are pure functional components?

1 Answers  


What is the life cycle of reactjs components?

1 Answers  


Differentiate between stateful and stateless components?

1 Answers  


How can you update state in react js?

1 Answers  


What is the ‘Store’ feature in Redux?

1 Answers  


How would you create higher order components (hocs) in react.js?

0 Answers  


When would you use setstate() and forceupdate()?

1 Answers  


What are arrow functions? How are they used?

1 Answers  


How to use events in reactjs? Give an example of using events?

0 Answers  


Why react js is faster?

1 Answers  


How to set focus in reactjs?

1 Answers  


What is an event in react?

1 Answers  


Categories