We use cookies to enhance your browsing experience, serve personalised ads or content, and analyse our traffic.
By clicking "I accept", you consent to our use of cookies.

Evento:
Web Day 2026
Lingua:
Inglese

Allegati

Tag

  • JavaScript

Speaker

Assembling the Infinity Gauntlet: DI and IoC with Decorators in Vanilla JavaScript

Dependency Injection (DI) is presented as a way to build maintainable and testable software without relying on heavyweight frameworks or complex infrastructures.

From a Lean Web perspective, the talk explores how metaprogramming and ECMAScript Decorators, especially Parameter Decorators, can enable DI in pure Vanilla JavaScript.

It reviews the TC39 proposal and shows how to build a minimal IoC container using custom decorators and constructor metadata.

The goal is to demonstrate that upcoming language features make clean, declarative, and native DI possible directly on the platform, without complex frameworks.