# Source: https://stately.ai/docs/xstate-immer.mdx

# @xstate/immer (/docs/xstate-immer)
<Callout type="warning">
  The [@xstate/immer package](https://github.com/statelyai/xstate/tree/main/packages/xstate-immer) is deprecated in XState v5.
</Callout>

[Read the @xstate/immer docs for XState v4](/docs/xstate-v4/xstate/packages/xstate-immer).