A11yTree - v0.2.2
    Preparing search index...

    Function fiberTunnel

    • Creates a tunnel that renders content from any number of In components at a single active Out, ordered by React tree position.

      Items are keyed by a stable per-instance id, so content keeps its identity across re-renders. Each Out render re-sorts items by live fiber position, grouped by React root (roots keep first-registration order); items without a resolvable fiber keep registration order, after the sorted items.

      Limitation: an In moved without re-rendering (a keyed reorder of memoized items) is unobservable; the Out picks up the new order on its next render. Callers that know content moved can force one with refresh().

      Parameters

      Returns FiberTunnel