Direction: Choose the correct option
Q1.
What does 'lifting state up' mean in React?
Direction: Choose the correct option
Q2.
Why would you lift state up?
Direction: Choose the correct option
Q3.
How do sibling components communicate after lifting state up?
Direction: Choose the correct option
Q4.
Consider two sibling components that need to share input values. Where should the state live?
Direction: Choose the correct option
Q5.
What is the direction of data flow when state is lifted up?
