useQueryCollection function

Module @runic-artifex/react in @runic-artifex/react 0.23.0

function useQueryCollection<TRow>(collection: QueryCollection<TRow>, options: QueryViewportOptions): QueryCollectionHandle<TRow>;

Follows a scroll container for a query collection (client.queries.{name}): it loads the rows the container shows from .NET, with placeholders until they arrive, and lays them out with variable heights. Render items absolutely at top inside a spacer of totalSize, and attach measure(item.index) to each row.