The API reference is a Work in Progress and will be continuously improved and extended. We'd love to hear your feedback in our documentation repository.
Home > @edtr-io/internal__plugin-state > StateUpdater
StateUpdater type
An updater will get called with the current state and helpers and should return the new state
Signature:export declare type StateUpdater<T> = (
previousState: T,
helpers: StoreDeserializeHelpers
) => T
References: [StoreDeserializeHelpers](./internal__plugin-state.storedeserializehelpers.md)