mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Bumping version to help filtering.
This commit is contained in:
committed by
Paul O’Shannessy
parent
63046277e4
commit
4af98990db
@@ -44,7 +44,7 @@ function warnForLegacyFactoryCall() {
|
||||
name + ' is calling a React component directly. ' +
|
||||
'Use a factory or JSX instead. See: http://fb.me/react-legacyfactory'
|
||||
);
|
||||
monitorCodeUse('react_legacy_factory_call', { version: 2, name: name });
|
||||
monitorCodeUse('react_legacy_factory_call', { version: 3, name: name });
|
||||
}
|
||||
|
||||
function warnForPlainFunctionType(type) {
|
||||
@@ -67,7 +67,7 @@ function warnForPlainFunctionType(type) {
|
||||
}
|
||||
monitorCodeUse(
|
||||
'react_non_component_in_jsx',
|
||||
{ version: 2, name: type.name }
|
||||
{ version: 3, name: type.name }
|
||||
);
|
||||
}
|
||||
warning(
|
||||
|
||||
Reference in New Issue
Block a user