A list of all returned elements. Grows every time loadMore is called until the max amount of elements has been reached.
Boolean flag that indicates whether the hook is currently fetching more items. Can be used to display a load spinner. Gets set to true when loadMore is called and set back to false once it has finished executing.
Calling this function triggers fetching more items an updating the hook state. Calling this function while isFetching is true, does nothing.
Boolean flag that indicates whether all elements have been fetched. Once this flag is true, calling loadMore will have no effect.
Calling this function resets the hook to its initial state.