Articles for people who
ship the stack
Rewrites on React, Node.js, TypeScript and AI. A translated body is shown when it exists. If it does not, you see the English text and a note that says so.
Tagged: Dependency Injection
Code-Splitting Heavy Angular Services on Demand with injectAsync
Why a statically injected service drags its libraries into the main Angular bundle, and how injectAsync lazy-loads services on user intent, including conditional loading.
6 min readHow Angular Dependency Injection Resolves Services with inject()
Understand how Angular DI supplies services through inject(), providers and hierarchical injectors, and how to scope instances and avoid missing-provider errors.
12 min readSOLID as a Question About Change: Refactoring a Spring Boot Service
Learn to apply each SOLID principle in a Spring Boot backend by asking what is likely to change, and how to avoid the over-engineering that SOLID often invites.
12 min readNestJS Injection Tokens: Why useClass Can Silently Duplicate Singletons
Understand types, tokens and providers in NestJS DI, why interfaces cannot be injected, and how useExisting avoids two instances of the same stateful service.
7 min readDiagnosing the NestJS Cannot Resolve Dependencies Error, Cause by Cause
Learn to read the NestJS dependency resolution error and fix its five usual causes: missing providers, unexported modules, cycles, wrong tokens and bare test modules.
5 min readDependency Injection in a TypeScript Monorepo: InversifyJS for React and Angular
Dependency injection for a TypeScript monorepo: pick a container, define type-safe tokens, assemble a Composition Root, and bridge it to React, Vue and Angular.
14 min read
About these articles
Request a 24h estimate
Need the same stack in a production operator layer? Send the brief — estimate within 24 hours.