[API reference](https://evolu.dev/docs/api-reference) › [@evolu/vue](https://evolu.dev/docs/api-reference/vue) › useOwnerSyncStatus

## Call Signature

```ts
function useOwnerSyncStatus(
  syncState: ReadonlyStore<SyncState | null>,
): Readonly<Ref<OwnerSyncStatus>>;
```

Defined in: [useOwnerSyncStatus.ts:40](https://github.com/evoluhq/evolu/blob/aa223771feea747ffb1b0f5f3271574455633e37/packages/vue/src/useOwnerSyncStatus.ts#L40)

Vue composable returning the [OwnerSyncStatus](https://evolu.dev/docs/api-reference/common/local-first/Shared/type-aliases/OwnerSyncStatus) of an owner in the
database of the provided [Evolu](https://evolu.dev/docs/api-reference/common/local-first/Evolu/interfaces/Evolu) instance, read from `syncState`, the
[SyncStateDep.syncState](https://evolu.dev/docs/api-reference/common/local-first/Evolu/interfaces/SyncStateDep#syncstate) store of the deps the instance was created
with. Without an owner, it is the status of [Evolu.appOwner](https://evolu.dev/docs/api-reference/common/local-first/Evolu/interfaces/Evolu#appowner). Otherwise
pass the owner `useOwner` takes; a null owner, for a component that waits for
one, gives `NoRelays`. Like the other composables, it reads its arguments
once, so a component that shows another owner is keyed by that owner. Before
the first snapshot, during server rendering, and until a hydrating component
mounts, the status is `NoRelays`. Server rendering starts when the server
renderer does, so a call on the server before that, such as from a store that
a router guard uses first, follows the store as on the client.

A status keeps its object while it is unchanged, so the ref changes only when
the status does. It stops following the store when the current effect scope,
such as the component, is disposed. See [OwnerSyncStatus](https://evolu.dev/docs/api-reference/common/local-first/Shared/type-aliases/OwnerSyncStatus) for what to
show.

## Call Signature

```ts
function useOwnerSyncStatus(
  syncState: ReadonlyStore<SyncState | null>,
  owner: Owner | ReadonlyOwner | null,
): Readonly<Ref<OwnerSyncStatus>>;
```

Defined in: [useOwnerSyncStatus.ts:44](https://github.com/evoluhq/evolu/blob/aa223771feea747ffb1b0f5f3271574455633e37/packages/vue/src/useOwnerSyncStatus.ts#L44)

For the owner `useOwner` takes, or null while there is none.