`getContextChangedKeys` only handles class components:
https://github.com/facebook/react/blob/355591add41c0f6dad738fdb1b6603e0786b7b4e/packages/react-devtools-shared/src/backend/renderer.js#L1276-L1304
ContextProvider: 12,
      CoroutineComponent: -1, 
      CoroutineHandlerPhase: -1, 
      DehydratedSuspenseComponent: -1, 
      ForwardRef: 13,
      Fragment: 9,
      FunctionComponent: 0,
      HostComponent: 7,
      HostPortal: 6,
      HostRoot: 5,
      HostText: 8,
      IncompleteClassComponent: -1, 
      IndeterminateComponent: 4,
      LazyComponent: -1, 
      LegacyHiddenComponent: -1,
      MemoComponent: -1, 
      Mode: 10,
      OffscreenComponent: -1, 
      Profiler: 15,
      ScopeComponent: -1, 
      SimpleMemoComponent: -1, 
      SuspenseComponent: 16,
      SuspenseListComponent: -1, 
      YieldComponent: -1, 
    };
  } else {
    ReactTypeOfWork = {
      CacheComponent: -1, 
      ClassComponent: 2,
      ContextConsumer: 12,