@dxos/react-ui-list
    Preparing search index...

    Function useStableIds

    • Ids for a plain array whose values carry none (AUDIT ยง6 point 43), kept beside it: an edit made through move, remove or insert carries the ids with the values, so a reordered row keeps its identity (and its React state) once the caller persists the returned array. An array that changes any other way keeps the ids by position.

      Type Parameters

      • T

      Parameters

      • values: readonly T[]

      Returns UseStableIdsReturn<T>