React card reviewmedium
What is Prop Drilling and how can it be avoided?
Prop drilling occurs when data is passed through multiple layers of components even though intermediate components do not need that data. This can make applications difficult to maintain and understand. Prop drilling can be avoided by using React Context API, state management libraries such as Redux or Zustand, or by restructuring components so that data is shared more efficiently.