# CreateReactorProviderOptions

Defined in: [react/src/createReactorProvider.ts:43](https://github.com/B3Pay/ic-reactor/blob/f1956947ae037304fce1675a38695964c1aa9e32/packages/react/src/createReactorProvider.ts#L43)

Options for [createReactorProvider](https://ic-reactor.b3pay.net/v3/libs/functions/createreactorprovider/).

## Properties

### queryClientProvider?

> `optional` **queryClientProvider?**: `boolean`

Defined in: [react/src/createReactorProvider.ts:60](https://github.com/B3Pay/ic-reactor/blob/f1956947ae037304fce1675a38695964c1aa9e32/packages/react/src/createReactorProvider.ts#L60)

Render a `QueryClientProvider` for the QueryClient the built value uses,
so that `useQueryClient()`, React Query Devtools and `HydrationBoundary`
below the provider read the cache the reactor hooks fill. The reactor
hooks do not need it: each binds to its reactor's own QueryClient.

Rendered only when the value holds exactly one QueryClient, found on the
value and on its own properties: a `defineReactor` result, a reactor or a
`ClientManager` brings its manager's, and a `QueryClient` counts as
itself. Below the provider it takes the place of an outer
`QueryClientProvider`, so a plain `useQuery` there caches in the
reactors' QueryClient too. Pass `false` to leave that context to a
provider of your own.

#### Default

```ts
true
```