if you look at ReactMount.ensureListening before, you'll note that the listeners need to be attached separately for each document. (this is so that rendering into iframes can work.) you'll likely need to store some unique identifier per document and have a separate map for each.