React · Junior · Question 23 of 75
What is prop drilling?
- ✓Correct answer: Passing props through intermediate components that don't need them
- 2Runtime type checking of props via
PropTypes - 3A render optimization: passing props through
React.memo
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.