Skip to main content

useGlobalSelector

useGlobalSelector<T>(selector: GlobalSelectorFunction): T | undefined
useGlobalSelector<T>(selector: GlobalSelectorFunction,defaultValue: undefined): T | undefined
useGlobalSelector<T>(selector: GlobalSelectorFunction,defaultValue: null): T | null
useGlobalSelector<T>(selector: GlobalSelectorFunction,defaultValue: T): T

Properties

(Mandatory properties are in bold)
PropertiesTypeDescription
selectorGlobalSelectorFunction