`getContextChangedKeys` only handles class components:
https://github.com/facebook/react/blob/355591add41c0f6dad738fdb1b6603e0786b7b4e/packages/react-devtools-shared/src/backend/renderer.js#L1276-L1304
if (isProfilingSupported) {
        recordProfilingDurations(nextFiber);
      }
    }
    if (shouldResetChildren) {
       W
       s
      if (shouldIncludeInTree) {
         N
        let nextChildSet = nextFiber.child;
        if (nextDidTimeOut) {
           S
          const nextFiberChild = nextFiber.child;
          nextChildSet = nextFiberChild ? nextFiberChild.sibling : null;
        }
        if (nextChildSet != null) {
          recordResetChildren(nextFiber, nextChildSet);
        }
         W
         S
        return false;
      } else {
         L
        return true;
      }
    } else {
      return false;
    }
  }
  function cleanup() {