samedi 12 septembre 2020

Usefulness of the observer pattern [closed]

I'm trying to wrap my head around the usefulness of observer patterns in js. Why do I need to subscribe functions to an observer array when I can just fire them off directly? Thanks.

Aucun commentaire:

Enregistrer un commentaire