@kayelaa/canvas API - v0.2.15
    Preparing search index...

    Variable useFiberControlConst

    useFiberControl: () => KaylaFiberControl = ...

    Provides safe, controlled access to fiber-level operations and metadata.

    This hook MUST be called at the top level of a component function — never inside loops, conditions, nested functions, or callbacks. The call order of all hooks is strictly fixed across every refresh; reordering calls will corrupt internal state.

    Returned object is stable across refreshes. Use this instead of useFiber() when you need fiber introspection or manual control.

    Type Declaration

    const control = useFiberControl();
    if (control.childrenCount > 120) {
    control.setMaxChildren(100); // soft-enforces limit + logs warning
    }

    // Rare manual refresh (prefer useShouldRefresh + declarative patterns)
    if (someExternalCondition) control.refresh();