Skip to main content

Posts Tagged ‘Prop drilling’

Understanding React Context and Property (Prop) Drilling

Context is a method of passing data down a component tree without having to manually pass props, a global variable or object prerequisite for React Context, down every level. Consider the component tree in our application, which looks like this: We can easily add state, the plain JavaScript object used by React, to our bottom-level […]