Skip to content
masterclass Buddy

Zustand · Method

persist.setOptions

persist.setOptions changes the configuration of a persisted Zustand store. It merges the supplied partial options with the existing options.

Last updated

Since
>=3.6.3

Syntax

useBoundStore.persist.setOptions(newOptions)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • persist
  • PersistOptions
  • createJSONStorage
  • getOptions
  • clearStorage

Source: Persisting store data - Zustand Docs. Checked 2026-11-03.