1.

What is Props Drilling and how can we avoid it ?

Answer»

PROPS Drilling (Threading) is a concept that refers to the process you pass the DATA from the parent component to the exact child Component BUT in between, other COMPONENTS owning the props just to pass it down the chain.

Steps to avoid it

1. React Context API.
2. Composition
3. Render props
4. HOC
5. REDUX or MobX



Discussion

No Comment Found