diff --git a/packages/events/EventPluginRegistry.js b/packages/events/EventPluginRegistry.js index daa620de83c71..36d95d25036f6 100644 --- a/packages/events/EventPluginRegistry.js +++ b/packages/events/EventPluginRegistry.js @@ -233,7 +233,7 @@ export function injectEventPluginsByName( const names = Object.keys(injectedNamesToPlugins).join(', '); lowPriorityWarning( false, - `Injecting custom event plugins (${names}) is deprecated ` + + 'Injecting custom event plugins (' + names + ') is deprecated ' + 'and will not work in React 17+. Please update your code ' + 'to not depend on React internals. The stack trace for this ' + 'warning should reveal the library that is using them. ' +