code: function refreshInstance (instanceId, data) {
    var instance = instances[instanceId] || {};
    if (!(instance.app instanceof Vue$2)) {
      return new Error(("refreshInstance: instance " + instanceId + " not found!"))
    }
    for (var key in data) {
      Vue$2.set(instance.app, key, data[key]);
    }
    // Finally `refreshFinish` signal needed.
    renderer.sendTasks(instanceId + '', [{ module: 'dom', method: 'refreshFinish', args: [] }], -1);
  }
docs: Refresh an instance with id and new top-level component data.
  It will use `Vue.set` on all keys of the new data. So it's better
  define all possible meaningful keys when instance created.
  @param {string} instanceId
  @param {object} data