OOP is better with stamps: Composable object factories.
-
Updated
Dec 10, 2024 - JavaScript
Dependency injection (DI) is an implementation of the dependency inversion principle with the aim of separation of concerns by separating the depndency's implementation from the class that's using it. That kind of abstraction makes it possible to have different implementations with the same public methods so the class using it, doesn't need to care which of the implementations is used. This is also especially useful for unit testing.
There are different types of dependency injection:
OOP is better with stamps: Composable object factories.
A powerful dependency injection micro container for JavaScript applications
Modular JavaScript framework for building scalable and reactive applications
The right way to mock dependencies in Node.js or webpack environment.
JavaScript模块加载器,基于AMD。迄今为止,对AMD理解最好的实现。
The NodeDependencyInjection component allows you to standarize and centralize the way objects are constructed in your application.
A Node.js App Architecture showcase heavily influenced by the Clean Architecture and Hexagonal Architecture, using MongoDB.
Add Angular 1.x dependency injection annotations to ES6 code
Hierarchical Dependency Injection with new React 16 Context API
🚀 A modular folder structure for developing highly scalable and maintainable APIs in nodejs using express.
🚀 A dependency injection web framework for Node.js.
Dependency injection and replacement for Javascript and React components/hooks
We love DI, but we don't use any DI libraries. Why?
Dependency Injection for JavaScript
simplest dependency injection
Asmin is .NET CORE project infrastructure, to get a quick start on the project.
Effortless React State Management.
Just a dependency injection container to NodeJS and to the browser using new ES6 features
Create a scalable, maintainable and module oriented system using Hydra.js
Created by Martin Fowler
Released January 23, 2004