> ## Documentation Index
> Fetch the complete documentation index at: https://www.dynamic.xyz/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# react-hooks

<Card title="Recommended: JavaScript SDK for React Native" icon="react" color="#4779FE">
  While this SDK is still supported, we recommend using newer [JavaScript SDK](/docs/javascript/reference/react-native-quickstart), which is optimized for React Native, but also comes with a host of other benefits.
</Card>

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

## Hooks

### `useReactiveClient`

```typescript theme={"system"}
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
