JavaScript, Functional Programming, Web Development, State Encapsulation, Javascript State.
A state container in the wild.  (with private fields!) I tend to avoid classes whenever possible in Javascript as I usually prefer a functional style over an object oriented one. But one thing that objects do really well is state encapsulation. In this article, I’m going to argue for using the