Tag: dependency-injection
All the articles with the tag "dependency-injection".
[译] inject 函数不是服务定位器——除非你把它用成了服务定位器
Published: at 00:00深入探讨 Angular 中 inject() 函数与服务定位器模式的区别,理解注入上下文的基础原理,以及如何避免将 inject() 误用为服务定位器。
All the articles with the tag "dependency-injection".
深入探讨 Angular 中 inject() 函数与服务定位器模式的区别,理解注入上下文的基础原理,以及如何避免将 inject() 误用为服务定位器。