diff --git a/src/isomorphic/React.js b/src/isomorphic/React.js index e816d569ba63d..68662037b96d4 100644 --- a/src/isomorphic/React.js +++ b/src/isomorphic/React.js @@ -59,8 +59,10 @@ if (__DEV__) { createMixin = function(mixin) { lowPriorityWarning( warnedForCreateMixin, - 'React.createMixin is deprecated and should not be used. You ' + - 'can use this mixin directly instead.', + 'React.createMixin is deprecated and should not be used. ' + + 'In React v16.0, it will be removed. ' + + 'You can use this mixin directly instead. ' + + 'See https://fb.me/createmixin-was-never-implemented for more info.', ); warnedForCreateMixin = true; return mixin; @@ -109,8 +111,12 @@ if (__DEV__) { get() { lowPriorityWarning( didWarnPropTypesDeprecated, - 'Accessing PropTypes via the main React package is deprecated. Use ' + - 'the prop-types package from npm instead.', + 'Accessing PropTypes via the main React package is deprecated,' + + ' and will be removed in React v16.0.' + + ' Use the prop-types package from npm instead.' + + ' Version 15.5.10 provides a drop-in replacement.' + + ' For info on usage, compatibility, migration and more, see ' + + 'https://fb.me/prop-types-docs', ); didWarnPropTypesDeprecated = true; return ReactPropTypes; @@ -129,8 +135,10 @@ if (__DEV__) { lowPriorityWarning( false, 'Accessing factories like React.DOM.%s has been deprecated ' + - 'and will be removed in the future. Use the ' + - 'react-addons-dom-factories package instead.', + 'and will be removed in v16.0+. Use the ' + + 'react-addons-dom-factories package instead. ' + + ' Version 1.0 provides a drop-in replacement.' + + ' For more info, see https://fb.me/react-addons-dom-factories', factory, ); warnedForFactories = true;