Happy Employees == Happy ClientsCAREERS AT DEPT®

Tim Chase

A collection of 1 post

Prop drilling in React: Solutions and trade-offs

Prop drilling in React: Solutions and trade-offs

Prop Drilling is the act of passing data, in this case, react props, through several nested layers of components before it reaches the component that needs the data. Is this a problem in and of itself? It depends (which is the best answer for a question). Props are part of the “React way” of managing state, so using them, even passing them through nested components, isn’t necessarily bad. It depends on the scale. For small applications, this is not an issue. You can use either of the approache

Tim Chase5 min read
Keep Reading