FiberTunnel - v0.6.1
    Preparing search index...

    Function FiberAnchor

    • Orders tunnel content from a nested React root at this point in the tree. Content from an unanchored nested root has no defined order.

      Wrap one nested root per anchor, and bridge context into it. Function children receive a bridge: render the root's children in ContextBridge so bridged Ins share the providers above the anchor. r3f's <Canvas> copies context on its own; bridge it anyway when it holds Ins.

      A root needs no anchor when all its Ins sit inside bridged content; that content is ordered at its In.

      Hiding the anchor (with Suspense or Activity) keeps the root's content in the Out.

      Parameters

      Returns Element