Codeminer42's Engineering Blog
Dependency Injection

Codeminer42 Dev Weekly #17
HELLO EVERYONE!!! It’s June 28, 2024, and you are reading the 17th Codeminer42’s tech news report. Let’s check out what the tech world showed us this week! Dependency Injection -…
Dependency injection in React with some Context
Dependency injection is a technique used to remove interdependencies between two components of an application, but for some reason, it's not commonly used in React applications. In this article we're…
Dependency Injection in JS/TS – Part 2
Photo by Floarian Klauer on Unplash Table of Contents Intro Integration Testing Asynchronous Container Creation Caveats Bootstrap Container Decorators Migrating a Codebase to Use DI Further Reading Intro In the…
Dependency Injection in JS/TS – Part 1
Photo by Vadim Sherbakov on Unplash Table of Contents Intro Fundamentals Terminology Build vs Use Varying Implementations Mock Implementations In Development Extracting Configuration Dependency Injection With Classes Deciding What to…
Creating a preview mode in a Vuex app with dependency injection
In this article, I will talk about how to use dependency injection (DI) in a Typescript Vue app with Awilix. Before I go ahead and just talk about how to…