What is prop drilling in React?
It is the process of passing data from a parent component to its child components through multiple levels of nesting.
It is a technique to make data available globally across all components in a React application.
It is a way to pass data between sibling components without involving their parent component.
It is a method to access data directly from the global state without passing it down as props.
Prop drilling refers to the practice of passing data from a parent component to its child components through multiple levels of nesting. This can lead to deeply nested components needing to receive props that they don't directly use, making the code harder to understand and maintain. Prop drilling can be avoided by using state management libraries like Redux or implementing context in React.