FiberTunnel - v0.4.0
    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. Content commits after the In, before paint.

    Out: () => ReactNode

    Renders the content. Mount one per tunnel: each Out renders a copy. Mounted together with Ins, paints empty once. Suspends once on mount to check its renderer. Renders empty on the server until hydration.

    refresh: () => void

    Re-reads order from the fiber tree. Needed only while the commit hook is off; dev warns when it falls back.