Generic web-component base class and framework specific wrapper.
service-locator helps keep your system decoupled by providing a central location where your application information can be found by other parts of you application.
Decouple the DOM events from expensive functions.