Creating a Singleton in JavaScript with Angular

added by JavaScript Kicks
11/29/2019 9:41:57 AM

580 Views

Design Patterns meet the Frontend As an Angular developer I work with Singletons every day, in the shape of Injectables. However, when I sat down to write about Singletons I did a double take. NOTE: Code samples in this article will be using TypeScript (3.7) 🤔 What constitutes a Singleton?


0 comments