Props for createStore.

interface Props<TStore> {
    factory: Factory<TStore>;
    name?: string;
}

Type Parameters

Properties

Properties

factory: Factory<TStore>

Store factory.

name?: string

Store name.