Posts tagged “dependency-injection”
2 posts found
TypeScript Decorators in 2026: Practical Use Cases
May 22, 2026
Most TypeScript decorators fail in production because teams copy patterns without understanding the 5.0+ execution model. Here's how to build decorators that solve real problems.
typescriptdecoratorsdesign-patterns+2
Dependency Injection Container in JavaScript
April 7, 2020
This pattern provides the same goal as the Dependency Injection, but in a more flexible and powerful way by acting as the container that houses dependencies of functions (or classes) that require them when times they need it, such as during their initialization phase.
javascriptdependency injectiondependency injection container+3