A callback-ref hook that watches DOM changes with MutationObserver — filtered attributes, rAF-batched records, and a disconnect/write/observe guard against self-feeding loops.
npx shadcn@latest add @zyeon/use-mutation-observerZyeon UI limits how often it can be asked, and useMutationObserver hasn't had its turn. Its source will show here once it has.