I've seen a lot of people talking about Observables and about the Observer pattern in general, mostly from the JS Rx library. What is the difference between observers and the events we usually treat, such as onclick
, onkeypress
, onkeydown
, etc? If we already have the possibility to create and respond to events, why do we need "artificial" Observers? Would not the two be the same?