Zustand · Method
persist.getOptions
persist.getOptions() returns the current options for Zustand's persist middleware. Use it to inspect settings such as the storage name.
Last updated
- Since
- >=3.6.3
Syntax
getOptions: () => Partial<PersistOptions>In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
persistPersistOptionssetOptionsclearStoragerehydrate