DEV Community

Saravanan s
Saravanan s

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 .

This is baseic of props drillin and this is my understanding of props deilling

Top comments (0)