Sitemap
1 min readOct 2, 2018

Hello Chris,

Thank you for this excellent article about Composition Root, I agree with you Composition Root is the next evolutionary step after dependency injection, dependency injection alone can help low level components and libraries to stay decoupled but without Composition Root, I think the application level code will fail to this and so, to scale.

I coded a Dependency Injection framework that is the only one really made to implement Composition-Root design pattern in JavaScript (for NodeJS, Browser, React-Native and certainly any other JS plateform). It’s documentation can be a great support to understand Composition-Root, all implications of this approach and all issues that it can solve.

Take a look at Di-Ninja:

https://github.com/di-ninja/di-ninja

--

--