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 ...
Aug 22, 20218 min read2.0K

