> ## Documentation Index
> Fetch the complete documentation index at: https://dynamic-docs-feat-sidebar-revamp.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# react-hooks

The package that provides a hook to make the [client](/react-native/client)'s state reactive.

## Hooks

### `useReactiveClient`

```typescript
useReactiveClient<T>(target: T) => T
```

Receives the client and returns it wrapped in a proxy.

In each rerender, the proxy keeps track of which variables you have accessed.
As soon as one of these variables' state mutates, React automatically rerenders, and the cycle restarts.

> This means **you only trigger rerenders for variables you are actually reading from**, keeping rerenders to a minimum
