Singletons in ES6 – The Good, The Bad, The Ugly

photo 1473655443462 4c2bdebc3e1c

Singletons are fairly controversial as far as I can tell, especially in Javascript programming. Let’s take a look at what they are, when to (maybe) use them, and when not to. What is a Singleton? A singleton is a class that allows only a single instance of itself to be created and gives access to … Read more Singletons in ES6 – The Good, The Bad, The Ugly