React · Junior · Question 23 of 75

What is prop drilling?

Explanation

When data from the root is needed deep down, you have to pass it through every level. It's inconvenient but not always a problem. Solutions: composition (pass ready elements via children), Context, global stores.

Further reading

Problem with a question

React · Junior · question 23

Test yourself

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

Take this quiz