facebook/react · error · Error

100

100

Error message

EventPluginRegistry: More than one plugin attempted to publish the same registration name, `${registrationName}`.

What it means

Error "EventPluginRegistry: More than one plugin attempted to publish the same registration name, `${registrationName}`." thrown in facebook/react.

Source

Thrown at packages/react-native-renderer/src/legacy-events/EventPluginRegistry.js:144

    return true;
  }
  return false;
}

/**
 * Publishes a registration name that is used to identify dispatched events.
 *
 * @param {string} registrationName Registration name to add.
 * @param {object} PluginModule Plugin publishing the event.
 * @private
 */
function publishRegistrationName(
  registrationName: string,
  pluginModule: LegacyPluginModule<AnyNativeEvent>,
  eventName: string,
): void {
  if (registrationNameModules[registrationName]) {
    throw new Error(
      'EventPluginRegistry: More than one plugin attempted to publish the same ' +
        `registration name, \`${registrationName}\`.`,
    );
  }

  registrationNameModules[registrationName] = pluginModule;
  registrationNameDependencies[registrationName] =
    pluginModule.eventTypes[eventName].dependencies;

  if (__DEV__) {
    const lowerCasedName = registrationName.toLowerCase();
    possibleRegistrationNames[lowerCasedName] = registrationName;

    if (registrationName === 'onDoubleClick') {
      possibleRegistrationNames.ondblclick = registrationName;
    }
  }
}

View on GitHub (pinned to eafeac097b)

When it happens

Trigger: Thrown at packages/react-native-renderer/src/legacy-events/EventPluginRegistry.js:144 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of facebook/react@eafeac097b (2026-08-21). Data as JSON: /api/errors/5567abbf29607775. Report an issue: GitHub.