Function useCollection

A custom hook that provides a collection management functionality.

  • Type Parameters

    • T extends IEntity = any

      The type of entities in the collection.

    Parameters

    • Optional__namedParameters: IParams<T> = {}

    Returns CollectionAdapter<T>

    • A memoized instance of the CollectionAdapter class.