When Not to Use Context
Recognize cases where prop passing, composition, or a state manager is a better fit.
Welcome
In this lesson you will learn when React Context is the wrong tool and recognise situations where prop passing, composition, or a state manager is a better and simpler fit.
Context Is Not a Silver Bullet
Context is often over-used. Developers reach for it to avoid any prop passing, but this creates hidden dependencies, makes components harder to test, and can hurt performance.