Create your own Event Emitter in JS
In my previous post, i wrote about how we can design you app using Observer Pattern.
Now we will try something simpler and which works across our application and not bound to a Object.
It has some interesting use cases like listening to Route Change...
blog.tejpratapsingh.com