Rich-Harris / Statesman

The JavaScript state management library

Home Page:https://github.com/Rich-Harris/Statesman/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Events

Rich-Harris opened this issue · comments

Statesman instances (Statesmen?) should emit events when data changes. Some useful events:

  • set
  • change
  • delete/remove

Events are now supported (Statesman instances have on, once, off and fire methods, and setting data causes set and set:keypath events to be emitted). Going to keep this issue open as there are other evens it would be good to emit by default