State Management · Junior · Question 15 of 75

What is "lifting state up"?

Explanation

Two components that must stay in sync shouldn't each have their own copy. The parent owns the state and passes the value plus a callback down. This is the first tool to reach for, before Context or a store.

Further reading

Problem with a question

State Management · Junior · question 15

Test yourself

Take the State Management · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz