Q. What does lifting state up mean in React?
β
Correct Answer: (C)
Moving state to a common ancestor component
Explanation: Lifting state up means moving state to the nearest common ancestor to share it across components.