---
id: persistQuery
title: Persist Query
example-title: Persist Query
example-tags: [headless]
---

You can use the [persitQueryClient](https://tanstack.com/query/v4/docs/react/plugins/persistQueryClient) feature of [react-query](https://tanstack.com/query/v4/docs) with **refine**. Different persisters can be used to store your client and cache to many different storage layers.

<CodeSandboxExample path="with-persist-query" />
