The useContext hook allows functional components to access the data provided by a Context.
It avoids the need to pass props through multiple levels of components to share data that is needed by many components.
useContext is a React Hook that lets you read and subscribe to context from your component.
Passing data deeply into the tree it solves the issue of prop drilling
0-2 years experience
2-5 years experience
5-8 years experience
8+ years experience