Tag: Scopes

Custom Scopes & Subcomponents in DI

So far, we’ve experimented with the @Singleton scope, understanding its ability to create, retain, and reuse objects. However, there are scenarios that @Singleton can't address. For instance, what if we want an object to be freshly instantiated with every new activity c...

Mastering JavaScript Scopes: Unveiling the Magic Behind Variables

Greetings, aspiring developers and JavaScript enthusiasts! Are you ready to delve deep into the intricate world of JavaScript scopes? Join me on this illuminating journey as we unravel the mysteries of variable contexts, closures, and the temporal dead zone. By the end of this article, you’ll ...