Michael Karén
1 min readJan 29, 2019

--

Thanks, DG!

Very good question!

As I understand it, we can use DI in the constructor as long as we don’t create any circular dependencies.

Most of the examples I did in my research used the Injector and some of them said that was the only way. If someone can clear this up, I will update the article.

--

--

Michael Karén
Michael Karén

Written by Michael Karén

Frontend Architect • JavaScript Enthusiast • Educative.io Author • ngVikings organizer.

No responses yet