Functional Singletons in TypeScript With Real Use Cases
Singletons are commonly used in Object Oriented Programming when we want to enforce that there is only ever a single instance of a class. This might be because we are trying to encapsulate some global state between processes.
In this article, I will ...
antman-does-software.com8 min read