Clarify manual PropType calls warning (#7777)
Andy Edwards committed
Sep 22, 2016 at 08:59 UTC
b7c70b67af77fa8611d4b13315bf57df15c4d35b
1 file changed
+4
-3
src/isomorphic/classic/types/ReactPropTypes.js
+4
-3
@@ -145,9 +145,10 @@ function createChainableTypeChecker(validate) {
145
false,
146
'You are manually calling a React.PropTypes validation ' +
147
'function for the `%s` prop on `%s`. This is deprecated ' +
148
- 'and will not work in the next major version. You may be ' +
149
- 'seeing this warning due to a third-party PropTypes library. ' +
150
- 'See https://fb.me/react-warning-dont-call-proptypes for details.',
148
+ 'and will not work in production with the next major version. ' +
149
+ 'You may be seeing this warning due to a third-party PropTypes ' +
150
+ 'library. See https://fb.me/react-warning-dont-call-proptypes ' +
151
+ 'for details.',
152
propFullName,
153
componentName
154
);