A

Admin • 833.24K Points
Coach

Q. What does lifting state up mean in React?

  • (A) Creating global state
  • (B) Passing state to Redux
  • (C) Moving state to a common ancestor component
  • (D) Using local storage
  • Correct Answer - Option(C)
  • Views: 29
  • Filed under category React JS
  • Hashtags:

Explanation by: Admin

Lifting state up means moving state to the nearest common ancestor to share it across components.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.