Dependency Injection without classes in JavaScript
Mattias Petter Johansson

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 you use a class or a function is not really will still be dependancy injection since you pass it to the function

Like what you read? Give Julius Koronci a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.