Type Alias StoreOptions<TState>

StoreOptions: {
    onAttach?: StoreEventHandler<TState>;
    onDetach?: StoreEventHandler<TState>;
    onLoad?: StoreEventHandler<TState>;
    onStateChange?: StoreEventHandler<TState>;
    resetOnDetach?: boolean;
}

Type Parameters

  • TState extends object

Type declaration