DEV Community

Dinesh G
Dinesh G

Posted on

My Java Full Stack Journey Learning (Props Drilling) in React JS

What is Props Drilling:

Props drilling happens when you need to pass data from a parent components to a deeply nested child component,but that child is not directly connect to the parent

the data is passed from a parent component to a child components using props

but you may need to pass data through many layers of components even if the middle components don't actually use the data .

Top comments (0)