`getContextChangedKeys` only handles class components:
https://github.com/facebook/react/blob/355591add41c0f6dad738fdb1b6603e0786b7b4e/packages/react-devtools-shared/src/backend/renderer.js#L1276-L1304
return;
      }
    }
    const numUnmountIDs =
      pendingRealUnmountedIDs.length +
      pendingSimulatedUnmountedIDs.length +
      (pendingUnmountedRootID === null ? 0 : 1);
    const operations = new Array(
       I
      2 +  [
       H
      1 +  [
         T
        pendingStringTableLength +
         A
         [
        (numUnmountIDs > 0 ? 2 + numUnmountIDs : 0) +
         R
        pendingOperations.length,
    );
     I
     T
     W
    let i = 0;
    operations[i++] = rendererID;
    operations[i++] = currentRootID;
     N
     [
    operations[i++] = pendingStringTableLength;
    pendingStringTable.forEach((value, key) => {