ts-di-starter icon indicating copy to clipboard operation
ts-di-starter copied to clipboard

Enjoyed the article!

Open allforabit opened this issue 4 years ago • 0 comments

Mark Seemans calls this approach Pure DI and it's a nice compromise between a complicated DI framework and just using singletons everywhere. This package might be worth checking out: https://www.github.com/thi-ng/umbrella/tree/develop/packages%2Fsystem to reduce the boilerplate a little in the serviced for (composition root). It's inspired by the components package from clojure and is very light weight.

allforabit avatar Jan 12 '21 00:01 allforabit