React Contexts and Dependency Injection

added by bpwndaddy
6/10/2015 3:00:59 PM

1 Kicks, 456 Views

In this post I want to explore the idea of using contexts in React to implement dependency injection (DI) in our application. We’ll cover two things: What contexts are in React and how they work Why we care about DI and how we can implement them using contexts.