Avoid Prop Drilling using Composition

In react when we pass a props down to its children, we like to use Context/Redux, this is not wrong but we don’t need to use this every time if parent has a small amount of children or child components.

Muhammad Lahin

Muhammad Lahin

Typically replies within an hour

I will be back soon

Muhammad Lahin
Hi! How can we help you?

Chat with Muhammad Lahin in Messenger