Stop Prop Drilling With Context API In React
We stopped prop drilling by using Context API. Prop drilling occurs when data is passed through multiple components (e.g. App -> Card -> User -> Date). Context API manages state and shares it across nested comps, eliminating prop drilling.