If you have more than one copy of React DevTools installed and enabled (e.g. the version in the Chrome store and a locally built version) they can interfere with each other.

DevTools should detect this case and warn by showing a dialog in the DevTools UI and/or by logging to the console.

Note that we _should not warn_ if a related tool like Fast Refresh is present, only another copy of DevTools.
/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @flow strict-local
 */
declare var chrome: any;
import {__DEBUG__} from 'react-devtools-shared/src/constants';
import {
  EXTENSION_INSTALL_CHECK_MESSAGE,
  EXTENSION_INSTALLATION_TYPE,
  INTERNAL_EXTENSION_ID,
  LOCAL_EXTENSION_ID,
} from './constants';
const UNRECOGNIZED_EXTENSION_WARNING =
  'React Developer Tools: You are running an unrecognized installation of the React Developer Tools extension, which might conflict with other versions of the extension installed in your browser. ' +
  'Please make sure you only have a single version of the extension installed or enabled. ' +
  'If you are developing this extension locally, make sure to build the extension using the `yarn build:<browser>:local` command.';
export function checkForDuplicateInstallations(callback: boolean => void) {