Field Notes
    Preparing search index...

    Function useElementRects

    • World rects of the elements a host matcher selects, re-rendering only when a tracked field changes. Camera motion never re-renders: position content under one camera transform and let the browser composite it.

      match may be an inline arrow — it is read through a ref, so it never re-subscribes; a semantic change is picked up via setMatch.

      Parameters

      • match: ElementRectMatch

      Returns readonly ElementRect[]