4 ms·
Why can't you just do DI the same way you do it in JS? You can pass Objects as parameters to functions and that's all you need.
by capableweb 5y ago
Why can't you just do DI the same way you do it in JS? You can pass Objects as parameters to functions and that's all you need.
- arcosdev 5y agoYou are right, but I was learning they way "it is done" at the time.