0👍
You can refetch the query each time the component is created by adding a created
hook :
created() {
this.$apollo.queries.user.refetch();
}
Here, user
is the name of the query, which is the identifier in your apollo: {}
object.
Source:stackexchange.com