Skip to main content

Variable: useComponentStore

const useComponentStore: StoreDefinition<"componentStore", Pick<{ componentState: Ref<ComponentState, ComponentState>; componentStateMessage: Ref<string, string>; getHostInstanceID: () => string; queryParams: Ref<{ size: number; append: void; delete: void; forEach: void; get: null | string; getAll: string[]; has: boolean; set: void; sort: void; toString: string; }, URLSearchParams | { size: number; append: void; delete: void; forEach: void; get: null | string; getAll: string[]; has: boolean; set: void; sort: void; toString: string; }>; reset: () => void; }, "componentState" | "componentStateMessage" | "queryParams">, Pick<{ componentState: Ref<ComponentState, ComponentState>; componentStateMessage: Ref<string, string>; getHostInstanceID: () => string; queryParams: Ref<{ size: number; append: void; delete: void; forEach: void; get: null | string; getAll: string[]; has: boolean; set: void; sort: void; toString: string; }, URLSearchParams | { size: number; append: void; delete: void; forEach: void; get: null | string; getAll: string[]; has: boolean; set: void; sort: void; toString: string; }>; reset: () => void; }, never>, Pick<{ componentState: Ref<ComponentState, ComponentState>; componentStateMessage: Ref<string, string>; getHostInstanceID: () => string; queryParams: Ref<{ size: number; append: void; delete: void; forEach: void; get: null | string; getAll: string[]; has: boolean; set: void; sort: void; toString: string; }, URLSearchParams | { size: number; append: void; delete: void; forEach: void; get: null | string; getAll: string[]; has: boolean; set: void; sort: void; toString: string; }>; reset: () => void; }, "getHostInstanceID" | "reset">>

Defined in: src/common/web/data/stores/ComponentStore.ts:25

The global store for all component-related data.

Param

The overall state of the component.

Param

An additional message about the component state.