- Evento:
- Web Day 2026
- Lingua:
- Inglese
Allegati
Speaker
-
Giorgio Galassi
Senior Frontend Engineer - Freelancer
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.