FiberTunnel - v0.6.1
    Preparing search index...

    Interface FiberTunnel

    A tunnel created by fiberTunnel.

    interface FiberTunnel {
        In: ComponentType<FiberTunnelInProps>;
        Out: () => ReactNode;
        refresh: () => void;
    }
    Index
    In: ComponentType<FiberTunnelInProps>

    Sends its children to the Out. The content commits after the In, before paint.

    Out: () => ReactNode

    Renders the tunnel's content. Mount one Out per tunnel; each extra Out renders another copy. An Out that mounts in the same commit as its Ins paints empty once. When bridged, it checks its renderer once on mount and suspends meanwhile, so await act in tests. On the server it renders nothing until hydration.

    refresh: () => void

    Re-reads content order from the fiber tree. Needed only after move detection turns off, which a dev warning reports.