Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

shared-document-observer

WebReflection12ISC0.1.2

A Set instance that invokes any {subtree: true, childList: true} on the current document

MutationObserver, document, shared, set

readme

shared-document-observer

A Set instance that invokes any {subtree: true, childList: true} on the current document.

import sdo from 'shared-document-observer';

sdo.add((records, observer) => {
  // sdo.observer === observer
});