Z
Zyeon UI

useMutationObserver · Zyeon UI

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-observer
Preview useMutationObserver on Zyeon UI's site (opens in a new tab)

Not checked yet

Zyeon UI limits how often it can be asked, and useMutationObserver hasn't had its turn. Its source will show here once it has.