React Contexts are Dynamic Scope

I’ve worked with a few teams who found React’s Contexts somewhat difficult to understand at first. This started me thinking about how best to explain them. What I realized is that Contexts are essentially nothing more than dynamic scope. What’s Dynamic Scope? As a programmer, you’re most likely very comfortable with lexical scoping, even if […]