JS Pro Design Patterns - The Singleton Pattern
The Singleton Pattern
This is one of the most common and useful JavaScript patterns. Basically, it is used to group code in a logical unit that can be accessed through only one access point, one variable.
We could make use of this technique when we ...
falbech.hashnode.dev4 min read
Maxi Contieri
Software Engineer
Nice article!
I think coupling is just the tip of the iceberg all the problem that brings this antipattern.
But i might be wrong