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 |
What are pure functional components?
What is the life cycle of reactjs components?
Differentiate between stateful and stateless components?
How can you update state in react js?
What is the ‘Store’ feature in Redux?
How would you create higher order components (hocs) in react.js?
When would you use setstate() and forceupdate()?
What are arrow functions? How are they used?
How to use events in reactjs? Give an example of using events?
Why react js is faster?
How to set focus in reactjs?
What is an event in react?