handle(state, type, payload) {
    const handler = this.__handlers.get(type)

    if (typeof handler === 'function') {
      return handler.call(this, state, payload, type)
    }

    return state
  }
Takes a current reactor state, action type and payload
does the reaction and returns the new state