re: Singleton in JavaScript VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I haven't used singletons in a while, but I remember it being quite useful when I was building services for sensitive DOM manipulation and listenin...
 

If I may, I'd like to shamelessly plug my post about another valid usage of Singleton pattern 😛

The gist is that, Singleton pattern works great in combination with a Null pattern (where the null object is implemented as a singleton).

code of conduct - report abuse