Helper class for a memoizing the currently active DOM node during a patching session. This mapping is necessary because DOMNodeReplaceOperationHandler swaps dom nodes when toggled. Thus, any operation attached to a child node needs to be capable of detecting the currently active parent in order to prevent operations on inactive nodes which may lead to loss of data.