From 73ce7c521d260415e158e6a3ca6c4fbc8cfef386 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Wed, 29 Nov 2017 14:07:45 +0000 Subject: [PATCH] Fix CI --- packages/events/EventPluginRegistry.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/events/EventPluginRegistry.js b/packages/events/EventPluginRegistry.js index daa620de83c71..639f28f2dc1a9 100644 --- a/packages/events/EventPluginRegistry.js +++ b/packages/events/EventPluginRegistry.js @@ -233,11 +233,12 @@ export function injectEventPluginsByName( const names = Object.keys(injectedNamesToPlugins).join(', '); lowPriorityWarning( false, - `Injecting custom event plugins (${names}) is deprecated ` + + 'Injecting custom event plugins (%s) 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. ' + 'See https://github.com/facebook/react/issues/11689 for a discussion.', + names, ); } }