Coding the simplest PubSub in the world
The PubSub is one of the first software patterns I implemented myself in JavaScript, and to this day I think it’s so simple yet so important when it comes to keeping different parts of a Web Application in sync.
So here it's my take at it, heavily inspired by mitt