Dependency Injection without classes in JavaScript
Mattias Petter Johansson
1111

Nice video, I am wondering how you would handle a DI or IoC container in javascript..for instance angular uses one I believe :)

btw thanks to imports we don’t have the need for a DI container in javascript because they pretty much handle the same. You import a dependancy which is encapsulated in another file..weather you use a class or a function is not really important..it will still be dependancy injection since you pass it to the function

Show your support

Clapping shows how much you appreciated Julius Koronci’s story.