Codeminer42's Engineering Blog

Dependency Injection

  • Codeminer42 Dev Weekly #17

    · 4 min read · by Gabriel Quaresma

    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

    · 8 min read · by Alencar Oliveira

    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

    · 28 min read · by Henrique Yuji

    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

    · 39 min read · by Henrique Yuji

    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

    · 15 min read · by Felipe Nolleto

    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…