Skip to main content

useCollection

useCollection<T>(dataSource: undefined | string | CollectionProxy<T> | T[],options: UseCollectionOptions<T, Item<T>>): CollectionProxy<T>

Properties

(Mandatory properties are in bold)
PropertiesTypeDescription
dataSourceundefined | string | CollectionProxy<T> | T[]
Additional properties for advanced use cases
PropertiesTypeDescription
optionsUseCollectionOptions<T, Item<T>>