[Vuejs]-Apollo query from one component updates all the siblings in Vue

0👍

dt (short for “data template” I assume) is defined in your component definition so all instances would share the same object.

An easy solution is to use it as a template but break the object reference in your data function, ie

data() {
  return {...dt}
}
👤Phil

Leave a comment