`getContextChangedKeys` only handles class components:
https://github.com/facebook/react/blob/355591add41c0f6dad738fdb1b6603e0786b7b4e/packages/react-devtools-shared/src/backend/renderer.js#L1276-L1304
child = child.sibling;
        }
         W
         w
        throw Error('Unable to find node on an unmounted component.');
      }
      if (a.return !== b.return) {
         T
         f
         b
         s
        a = parentA;
        b = parentB;
      } else {
         T
         d
         w
        
         S
        let didFindChild = false;
        let child = parentA.child;
        while (child) {
          if (child === a) {
            didFindChild = true;
            a = parentA;
            b = parentB;
            break;
          }
          if (child === b) {
            didFindChild = true;