Store

Store is a message handler which can catch message that broadcast in system, then transform the message to data to change state, finally the listeners(eg. react component) who are listening to the store will receive the new state.

  class MyStore extends Store {
    public state = {}
    public createReceive() {
      return this.receiveBuilder().build()
    }
  }

results matching ""

    No results matching ""