React Context API

Girija Viswanathan
3 min readDec 27, 2020

The Context API is a component structure provided by the React framework, which enables us to share specific forms of data across all levels of the application. It’s aimed at solving the problem of prop drilling.

“Prop drilling (also called “threading”) refers to the process you have to go through to get data to parts of the React Component tree.” — Kent C. Dodds.

--

--