FiberTunnel - v0.4.0
    Preparing search index...

    Function sortByFiberOrder

    • Sorts items by React tree position. Items must share a React root. Unresolvable items keep input order, after the sorted ones.

      Type Parameters

      • T extends { fiber?: object | null }

      Parameters

      • items: readonly T[]

      Returns T[]