# Function: watch()

> **watch**\<`State`, `S`, `R`\>(`path`, `adapter?`): `ReactWatch`\<`State`, `S`\>

See [StateAdapt.watch](../../../state-adapt-rxjs/references/index/StateAdapt.md#watch) for the complete API.

This wrapper additionally lets you call the store as a function for its
current state, or call a selector property for its current result.

```ts
import { stringAdapter } from '@state-adapt/core/adapters';
import { watch } from '@state-adapt/react';

const name = watch('name', stringAdapter);

// While the store at "name" is active:
console.log(name()); // 'John'
console.log(name.uppercase()); // 'JOHN'
```

Reads are `undefined` while the store is inactive and do not activate its
sources. See [derive](./derive.md) for composing these reads.
