OptionalfetchId?: stringFunction for fetching the items
OptionalfetchTotal?: numberHow much items will be fetched, defaults to 10.
OptionalinitialFetchTotal?: numberHow many items will be fetched on the first requests, defaults to fetchTotal
OptionalonScrollFetch?: (index: number, fetchItems: fetchItems<T>) => voidOverride the default behavior when the the scrolling frame is scrolled to the bottom
Function for rendering an item
OptionaluniqueIdExtractor?: forEachProps<T[], Instance, UID>["uniqueIdExtractor"]Used to generate unique id for each item, this means that if the content unqiue id already exists, the component will not be recreated, only the index will update.
This is used as a "reset" property. When the fetchId is changed, the current index will be reset back to 0 and all existing rendered items will be removed.