DOM Rendering Performance

What potential performance issue exists with this MutationObserver usage?
const observer = new MutationObserver(mutations => {
  mutations.forEach(mutation => {
    mutation.addedNodes.forEach(node => {
      if (node.nodeType === 1) {
        node.style.opacity = '0';
        requestAnimationFrame(() => {
          node.style.transition = 'opacity 0.3s';
          node.style.opacity = '1';
        });
      }
    });
  });
});

observer.observe(document.body, { childList: true, subtree: true });
Next Question (17/20)