Problem Statement
What does 'lifting state up' mean in React Native?
Explanation
When two components need to share the same data, it’s best to lift the state up to their common ancestor and pass it down through props. This pattern keeps data consistent and avoids duplication.
Practice Sets
This question appears in the following practice sets: