https://codesandbox.io/s/elastic-mayer-rzz4h2?file=/package.json

This is supposed to `console.error` but it doesn't.

17 warns: https://codesandbox.io/s/admiring-minsky-sze07m?file=/src/App.js
rootDoesHavePassiveEffects = false;
    rootWithPendingPassiveEffects = root;
    pendingPassiveEffectsLanes = lanes;
  } else {
     
     
    releaseRootPooledCache(root, remainingLanes);
  }
   
  remainingLanes = root.pendingLanes;
   
   
   
   
   inside `componentDidCatch` is itself flawed — that's why we recommend
   `getDerivedStateFromError` instead. However, it could be improved by
   checking if remainingLanes includes Sync work, instead of whether there's
   any work remaining at all (which would also include stuff like Suspense
   retries or transitions). It's been like this for a while, though, so fixing
   it probably isn't that urgent.
  if (remainingLanes === NoLanes) {
     I
     e
    legacyErrorBoundariesThatAlreadyFailed = null;
  }
  if (__DEV__ && enableStrictEffects) {
    if (!rootDidHavePassiveEffects) {
      commitDoubleInvokeEffectsInDEV(root.current, false);
    }
  }