Closed ianks closed 8 years ago
I think the name could be better. What about storeDidChange
to be more conventional with React lifecycle hooks?
Also, I was thinking this might be useful to define as an instance method as opposed to a static method. Thoughts @goatslacker?
EDIT: Renamed to storeDidChange
Sometimes it is nice to be able to have a method be invoked whenever the state changes on the object. An example of this might read: