Does anyone have resources or ideas to share on the merits of dependency injection in js/ts ? To me it almost always feels clunky and antithetical to the spcriptey nature of JS/TS.
It shouldn't. DI as a set of patterns and approaches can be implemented anywhere. The language and the runtime can help you or be a hindrance, but the principles are generic.
pshirshov|3 months ago
Most of the benefits do not depend on any particular language/runtime/stack.
agos|3 months ago
unknown|3 months ago
[deleted]
tantalor|3 months ago
pshirshov|3 months ago