Skip to content
Discussion options

You must be logged in to vote

Prop drilling is when you pass data from a parent component to deeply nested child components through props. While React lets you do this, it can make your code harder to maintain and understand. Too much prop drilling can make it tough to follow the data flow and can cause extra re-renders. To avoid these problems, you can use the Context API or state management tools like Redux.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Rashid-Aly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants