What is lifting state up in react?
Answer / Rishi Kant Misra
Lifting state up means moving the state that's needed by multiple components up to their closest common ancestor component. This allows for passing of such state as props to those children instead of having each child maintain its own state.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of ‘prop-types’ library?
How to use events in reactjs?
What is react.js? How is it different from other javascript frameworks?
What are refs in react and why are they important?
What are synthetic events in react?
What is React.PropTypes?
What are lifecycle hooks react?
What are the popular animation package in React ecosystem?
What are the advantages of reactjs?
What is react intl?
What is the life cycle of reactjs components?
What is lifting state up in react?