---
title: "State Management"
description: "Learn about handling state with @hey-api/openapi-ts."
url: "https://heyapi.dev/docs/openapi/typescript/state-management"
---

Any reasonably large application will have to deal with state management at some point. State-related code is often one of the biggest boilerplates in your codebase. Well, at least until you start using our state management plugins.

## Options

[Section titled “Options”](#options)

Hey API natively supports the following state managers.

* [Pinia Colada](https://heyapi.dev/openapi-ts/plugins/pinia-colada)
* [TanStack Query](https://heyapi.dev/openapi-ts/plugins/tanstack-query)
* [SWR](https://heyapi.dev/openapi-ts/plugins/swr) Vote
* [Zustand](https://heyapi.dev/openapi-ts/plugins/zustand) Vote

Don’t see your state manager? Let us know your interest by [opening an issue](https://github.com/hey-api/openapi-ts/issues).

## Examples

You can view live examples on [StackBlitz](https://stackblitz.com/orgs/github/hey-api/collections/openapi-ts-examples) or on [GitHub](https://github.com/hey-api/openapi-ts/tree/main/examples).
