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.
SubscribeRelated
persistPersistOptionscreateJSONStoragegetOptionsclearStorage