diff --git a/IntegrationTests/IntegrationTestsApp.js b/IntegrationTests/IntegrationTestsApp.js
index 9e0539421..ebe48478d 100644
--- a/IntegrationTests/IntegrationTestsApp.js
+++ b/IntegrationTests/IntegrationTestsApp.js
@@ -57,10 +57,9 @@ class IntegrationTestsApp extends React.Component<{}, $FlowFixMeState> {
if (this.state.test) {
return (
- {/* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses
- * an error when upgrading Flow's support for React. Common errors
- * found when upgrading Flow's React support are documented at
- * https://fburl.com/eq7bs81w */}
+ {/* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for
+ * React. To see the error delete this comment and run Flow. */}
);
diff --git a/Libraries/Animated/src/AnimatedEvent.js b/Libraries/Animated/src/AnimatedEvent.js
index e8ee358a2..206516f5d 100644
--- a/Libraries/Animated/src/AnimatedEvent.js
+++ b/Libraries/Animated/src/AnimatedEvent.js
@@ -144,9 +144,9 @@ class AnimatedEvent {
recMapping.setValue(recEvt);
} else if (typeof recMapping === 'object') {
for (const mappingKey in recMapping) {
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment
- * suppresses an error found when Flow v0.53 was deployed. To see
- * the error delete this comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for
+ * React. To see the error delete this comment and run Flow. */
traverse(recMapping[mappingKey], recEvt[mappingKey], mappingKey);
}
}
diff --git a/Libraries/Components/ActivityIndicator/ActivityIndicator.js b/Libraries/Components/ActivityIndicator/ActivityIndicator.js
index 17ed9a631..dd9706497 100644
--- a/Libraries/Components/ActivityIndicator/ActivityIndicator.js
+++ b/Libraries/Components/ActivityIndicator/ActivityIndicator.js
@@ -37,9 +37,9 @@ type DefaultProps = {
/**
* Displays a circular loading indicator.
*/
-/* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an error
- * found when Flow v0.53 was deployed. To see the error delete this comment and
- * run Flow. */
+/* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment
+ * suppresses an error when upgrading Flow's support for React. To see the
+ * error delete this comment and run Flow. */
const ActivityIndicator = createReactClass({
displayName: 'ActivityIndicator',
mixins: [NativeMethodsMixin],
diff --git a/Libraries/Components/CheckBox/CheckBox.js b/Libraries/Components/CheckBox/CheckBox.js
index 22ce3df87..183cbafa9 100644
--- a/Libraries/Components/CheckBox/CheckBox.js
+++ b/Libraries/Components/CheckBox/CheckBox.js
@@ -97,10 +97,9 @@ let CheckBox = createReactClass({
{
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error when upgrading Flow's support for React. Common errors found
- * when upgrading Flow's React support are documented at
- * https://fburl.com/eq7bs81w */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for
+ * React. To see the error delete this comment and run Flow. */
this._rctCheckBox = ref;
}}
onChange={this._onChange}
diff --git a/Libraries/Components/ScrollView/ScrollView.js b/Libraries/Components/ScrollView/ScrollView.js
index b5836fa63..980d5d734 100644
--- a/Libraries/Components/ScrollView/ScrollView.js
+++ b/Libraries/Components/ScrollView/ScrollView.js
@@ -548,9 +548,9 @@ const ScrollView = createReactClass({
},
_getKeyForIndex: function(index, childArray) {
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error found when Flow v0.53 was deployed. To see the error delete this
- * comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment
+ * suppresses an error when upgrading Flow's support for React. To see the
+ * error delete this comment and run Flow. */
const child = childArray[index];
return child && child.key;
},
@@ -580,9 +580,9 @@ const ScrollView = createReactClass({
if (!this.props.stickyHeaderIndices) {
return;
}
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error found when Flow v0.53 was deployed. To see the error delete this
- * comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment
+ * suppresses an error when upgrading Flow's support for React. To see the
+ * error delete this comment and run Flow. */
const childArray = React.Children.toArray(this.props.children);
if (key !== this._getKeyForIndex(index, childArray)) {
// ignore stale layout update
@@ -592,13 +592,13 @@ const ScrollView = createReactClass({
const layoutY = event.nativeEvent.layout.y;
this._headerLayoutYs.set(key, layoutY);
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error found when Flow v0.53 was deployed. To see the error delete this
- * comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment
+ * suppresses an error when upgrading Flow's support for React. To see the
+ * error delete this comment and run Flow. */
const indexOfIndex = this.props.stickyHeaderIndices.indexOf(index);
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error found when Flow v0.53 was deployed. To see the error delete this
- * comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment
+ * suppresses an error when upgrading Flow's support for React. To see the
+ * error delete this comment and run Flow. */
const previousHeaderIndex = this.props.stickyHeaderIndices[indexOfIndex - 1];
if (previousHeaderIndex != null) {
const previousHeader = this._stickyHeaderRefs.get(
@@ -697,33 +697,34 @@ const ScrollView = createReactClass({
const {stickyHeaderIndices} = this.props;
const hasStickyHeaders = stickyHeaderIndices && stickyHeaderIndices.length > 0;
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error found when Flow v0.53 was deployed. To see the error delete this
- * comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment
+ * suppresses an error when upgrading Flow's support for React. To see the
+ * error delete this comment and run Flow. */
const childArray = hasStickyHeaders && React.Children.toArray(this.props.children);
const children = hasStickyHeaders ?
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error found when Flow v0.53 was deployed. To see the error delete this
- * comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for React.
+ * To see the error delete this comment and run Flow. */
childArray.map((child, index) => {
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error found when Flow v0.53 was deployed. To see the error delete
- * this comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for React.
+ * To see the error delete this comment and run Flow. */
const indexOfIndex = child ? stickyHeaderIndices.indexOf(index) : -1;
if (indexOfIndex > -1) {
const key = child.key;
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses
- * an error found when Flow v0.53 was deployed. To see the error
- * delete this comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for
+ * React. To see the error delete this comment and run Flow. */
const nextIndex = stickyHeaderIndices[indexOfIndex + 1];
return (
this._setStickyHeaderRef(key, ref)}
nextHeaderLayoutY={
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment
- * suppresses an error found when Flow v0.53 was deployed. To
- * see the error delete this comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss)
+ * This comment suppresses an error when upgrading Flow's
+ * support for React. To see the error delete this comment and
+ * run Flow. */
this._headerLayoutYs.get(this._getKeyForIndex(nextIndex, childArray))
}
onLayout={(event) => this._onStickyHeaderLayout(index, event, key)}
@@ -735,17 +736,16 @@ const ScrollView = createReactClass({
return child;
}
}) :
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error found when Flow v0.53 was deployed. To see the error delete this
- * comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for React.
+ * To see the error delete this comment and run Flow. */
this.props.children;
const contentContainer =
=0.53.0 site=react_native_fb) This comment suppresses an
- * error when upgrading Flow's support for React. Common errors found
- * when upgrading Flow's React support are documented at
- * https://fburl.com/eq7bs81w */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for React.
+ * To see the error delete this comment and run Flow. */
ref={this._setInnerViewRef}
style={contentContainerStyle}
removeClippedSubviews={
@@ -786,9 +786,9 @@ const ScrollView = createReactClass({
onResponderGrant: this.scrollResponderHandleResponderGrant,
onResponderReject: this.scrollResponderHandleResponderReject,
onResponderRelease: this.scrollResponderHandleResponderRelease,
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error found when Flow v0.53 was deployed. To see the error delete this
- * comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for React.
+ * To see the error delete this comment and run Flow. */
onResponderTerminate: this.scrollResponderHandleTerminate,
onResponderTerminationRequest: this.scrollResponderHandleTerminationRequest,
onScroll: this._handleScroll,
@@ -818,10 +818,9 @@ const ScrollView = createReactClass({
// On iOS the RefreshControl is a child of the ScrollView.
// tvOS lacks native support for RefreshControl, so don't include it in that case
return (
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses
- * an error when upgrading Flow's support for React. Common errors
- * found when upgrading Flow's React support are documented at
- * https://fburl.com/eq7bs81w */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for
+ * React. To see the error delete this comment and run Flow. */
{Platform.isTVOS ? null : refreshControl}
{contentContainer}
@@ -837,10 +836,9 @@ const ScrollView = createReactClass({
return React.cloneElement(
refreshControl,
{style: props.style},
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses
- * an error when upgrading Flow's support for React. Common errors
- * found when upgrading Flow's React support are documented at
- * https://fburl.com/eq7bs81w */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for
+ * React. To see the error delete this comment and run Flow. */
{contentContainer}
@@ -848,10 +846,9 @@ const ScrollView = createReactClass({
}
}
return (
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error when upgrading Flow's support for React. Common errors found
- * when upgrading Flow's React support are documented at
- * https://fburl.com/eq7bs81w */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for React.
+ * To see the error delete this comment and run Flow. */
{contentContainer}
diff --git a/Libraries/Components/Switch/Switch.js b/Libraries/Components/Switch/Switch.js
index 3dd281316..7faed65d7 100644
--- a/Libraries/Components/Switch/Switch.js
+++ b/Libraries/Components/Switch/Switch.js
@@ -93,9 +93,9 @@ var Switch = createReactClass({
this._rctSwitch.setNativeProps({value: this.props.value});
}
//Change the props after the native props are set in case the props change removes the component
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error found when Flow v0.53 was deployed. To see the error delete this
- * comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment
+ * suppresses an error when upgrading Flow's support for React. To see the
+ * error delete this comment and run Flow. */
this.props.onChange && this.props.onChange(event);
this.props.onValueChange && this.props.onValueChange(event.nativeEvent.value);
},
@@ -115,10 +115,9 @@ var Switch = createReactClass({
return (
=0.53.0 site=react_native_fb) This comment suppresses an
- * error when upgrading Flow's support for React. Common errors found
- * when upgrading Flow's React support are documented at
- * https://fburl.com/eq7bs81w */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for React.
+ * To see the error delete this comment and run Flow. */
ref={(ref) => { this._rctSwitch = ref; }}
onChange={this._onChange}
/>
diff --git a/Libraries/Components/TextInput/TextInput.js b/Libraries/Components/TextInput/TextInput.js
index 89c7156d4..3629efa2c 100644
--- a/Libraries/Components/TextInput/TextInput.js
+++ b/Libraries/Components/TextInput/TextInput.js
@@ -734,9 +734,9 @@ const TextInput = createReactClass({
}
props.autoCapitalize =
UIManager.AndroidTextInput.Constants.AutoCapitalizationType[this.props.autoCapitalize];
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error found when Flow v0.53 was deployed. To see the error delete this
- * comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment
+ * suppresses an error when upgrading Flow's support for React. To see the
+ * error delete this comment and run Flow. */
var children = this.props.children;
var childCount = 0;
React.Children.forEach(children, () => ++childCount);
@@ -897,9 +897,9 @@ const TextInput = createReactClass({
},
_onTextInput: function(event: Event) {
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error found when Flow v0.53 was deployed. To see the error delete this
- * comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment
+ * suppresses an error when upgrading Flow's support for React. To see the
+ * error delete this comment and run Flow. */
this.props.onTextInput && this.props.onTextInput(event);
},
diff --git a/Libraries/Components/Touchable/TouchableBounce.js b/Libraries/Components/Touchable/TouchableBounce.js
index dac2b121a..cf0439c6b 100644
--- a/Libraries/Components/Touchable/TouchableBounce.js
+++ b/Libraries/Components/Touchable/TouchableBounce.js
@@ -139,36 +139,30 @@ var TouchableBounce = createReactClass({
render: function(): React.Element {
return (
=0.53.0 site=react_native_fb) This comment suppresses an
- * error when upgrading Flow's support for React. Common errors found
- * when upgrading Flow's React support are documented at
- * https://fburl.com/eq7bs81w */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for React.
+ * To see the error delete this comment and run Flow. */
style={[{transform: [{scale: this.state.scale}]}, this.props.style]}
accessible={this.props.accessible !== false}
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error when upgrading Flow's support for React. Common errors found
- * when upgrading Flow's React support are documented at
- * https://fburl.com/eq7bs81w */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for React.
+ * To see the error delete this comment and run Flow. */
accessibilityLabel={this.props.accessibilityLabel}
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error when upgrading Flow's support for React. Common errors found
- * when upgrading Flow's React support are documented at
- * https://fburl.com/eq7bs81w */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for React.
+ * To see the error delete this comment and run Flow. */
accessibilityComponentType={this.props.accessibilityComponentType}
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error when upgrading Flow's support for React. Common errors found
- * when upgrading Flow's React support are documented at
- * https://fburl.com/eq7bs81w */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for React.
+ * To see the error delete this comment and run Flow. */
accessibilityTraits={this.props.accessibilityTraits}
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error when upgrading Flow's support for React. Common errors found
- * when upgrading Flow's React support are documented at
- * https://fburl.com/eq7bs81w */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for React.
+ * To see the error delete this comment and run Flow. */
nativeID={this.props.nativeID}
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error when upgrading Flow's support for React. Common errors found
- * when upgrading Flow's React support are documented at
- * https://fburl.com/eq7bs81w */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for React.
+ * To see the error delete this comment and run Flow. */
testID={this.props.testID}
hitSlop={this.props.hitSlop}
onStartShouldSetResponder={this.touchableHandleStartShouldSetResponder}
diff --git a/Libraries/Components/Touchable/TouchableHighlight.js b/Libraries/Components/Touchable/TouchableHighlight.js
index 79c049334..022419021 100644
--- a/Libraries/Components/Touchable/TouchableHighlight.js
+++ b/Libraries/Components/Touchable/TouchableHighlight.js
@@ -136,9 +136,9 @@ var TouchableHighlight = createReactClass({
},
getInitialState: function() {
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error found when Flow v0.53 was deployed. To see the error delete this
- * comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment
+ * suppresses an error when upgrading Flow's support for React. To see the
+ * error delete this comment and run Flow. */
this._isMounted = false;
return merge(
this.touchableGetInitialState(), this._computeSyntheticState(this.props)
@@ -146,18 +146,18 @@ var TouchableHighlight = createReactClass({
},
componentDidMount: function() {
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error found when Flow v0.53 was deployed. To see the error delete this
- * comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment
+ * suppresses an error when upgrading Flow's support for React. To see the
+ * error delete this comment and run Flow. */
this._isMounted = true;
ensurePositiveDelayProps(this.props);
ensureComponentIsNative(this.refs[CHILD_REF]);
},
componentWillUnmount: function() {
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error found when Flow v0.53 was deployed. To see the error delete this
- * comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment
+ * suppresses an error when upgrading Flow's support for React. To see the
+ * error delete this comment and run Flow. */
this._isMounted = false;
},
@@ -185,9 +185,9 @@ var TouchableHighlight = createReactClass({
*/
touchableHandleActivePressIn: function(e: Event) {
this.clearTimeout(this._hideTimeout);
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error found when Flow v0.53 was deployed. To see the error delete this
- * comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment
+ * suppresses an error when upgrading Flow's support for React. To see the
+ * error delete this comment and run Flow. */
this._hideTimeout = null;
this._showUnderlay();
this.props.onPressIn && this.props.onPressIn(e);
@@ -203,9 +203,9 @@ var TouchableHighlight = createReactClass({
touchableHandlePress: function(e: Event) {
this.clearTimeout(this._hideTimeout);
this._showUnderlay();
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error found when Flow v0.53 was deployed. To see the error delete this
- * comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment
+ * suppresses an error when upgrading Flow's support for React. To see the
+ * error delete this comment and run Flow. */
this._hideTimeout = this.setTimeout(this._hideUnderlay,
this.props.delayPressOut || 100);
this.props.onPress && this.props.onPress(e);
@@ -247,9 +247,9 @@ var TouchableHighlight = createReactClass({
_hideUnderlay: function() {
this.clearTimeout(this._hideTimeout);
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error found when Flow v0.53 was deployed. To see the error delete this
- * comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment
+ * suppresses an error when upgrading Flow's support for React. To see the
+ * error delete this comment and run Flow. */
this._hideTimeout = null;
if (this._hasPressHandler() && this.refs[UNDERLAY_REF]) {
this.refs[CHILD_REF].setNativeProps(INACTIVE_CHILD_PROPS);
@@ -274,9 +274,9 @@ var TouchableHighlight = createReactClass({
return (
=0.53.0 site=react_native_fb) This comment suppresses an
- * error found when Flow v0.53 was deployed. To see the error delete
- * this comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for React.
+ * To see the error delete this comment and run Flow. */
accessibilityLabel={this.props.accessibilityLabel}
accessibilityComponentType={this.props.accessibilityComponentType}
accessibilityTraits={this.props.accessibilityTraits}
@@ -293,18 +293,18 @@ var TouchableHighlight = createReactClass({
onResponderMove={this.touchableHandleResponderMove}
onResponderRelease={this.touchableHandleResponderRelease}
onResponderTerminate={this.touchableHandleResponderTerminate}
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error found when Flow v0.53 was deployed. To see the error delete
- * this comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for React.
+ * To see the error delete this comment and run Flow. */
nativeID={this.props.nativeID}
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error found when Flow v0.53 was deployed. To see the error delete
- * this comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for React.
+ * To see the error delete this comment and run Flow. */
testID={this.props.testID}>
{React.cloneElement(
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses
- * an error found when Flow v0.53 was deployed. To see the error
- * delete this comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for
+ * React. To see the error delete this comment and run Flow. */
React.Children.only(this.props.children),
{
ref: CHILD_REF,
diff --git a/Libraries/Experimental/SwipeableRow/SwipeableListView.js b/Libraries/Experimental/SwipeableRow/SwipeableListView.js
index fc365f597..0adaa6cf5 100644
--- a/Libraries/Experimental/SwipeableRow/SwipeableListView.js
+++ b/Libraries/Experimental/SwipeableRow/SwipeableListView.js
@@ -115,16 +115,15 @@ class SwipeableListView extends React.Component {
render(): React.Node {
return (
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error found when Flow v0.53 was deployed. To see the error delete this
- * comment and run Flow. */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for React.
+ * To see the error delete this comment and run Flow. */
{
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses
- * an error when upgrading Flow's support for React. Common errors
- * found when upgrading Flow's React support are documented at
- * https://fburl.com/eq7bs81w */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
+ * comment suppresses an error when upgrading Flow's support for
+ * React. To see the error delete this comment and run Flow. */
this._listViewRef = ref;
}}
dataSource={this.state.dataSource.getDataSource()}
diff --git a/Libraries/Experimental/WindowedListView.js b/Libraries/Experimental/WindowedListView.js
index 2fb8a042d..05e16ee7b 100644
--- a/Libraries/Experimental/WindowedListView.js
+++ b/Libraries/Experimental/WindowedListView.js
@@ -697,10 +697,9 @@ class CellRenderer extends React.Component {
return newProps.rowData !== this.props.rowData;
}
_setRef = (ref) => {
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error when upgrading Flow's support for React. Common errors found when
- * upgrading Flow's React support are documented at
- * https://fburl.com/eq7bs81w */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment
+ * suppresses an error when upgrading Flow's support for React. To see the
+ * error delete this comment and run Flow. */
this._containerRef = ref;
};
render() {
diff --git a/Libraries/Image/ImageBackground.js b/Libraries/Image/ImageBackground.js
index a6c530230..f5229e53c 100644
--- a/Libraries/Image/ImageBackground.js
+++ b/Libraries/Image/ImageBackground.js
@@ -58,10 +58,9 @@ class ImageBackground extends React.Component<$FlowFixMeProps> {
_viewRef: ?NativeMethodsMixinType = null;
_captureRef = ref => {
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error when upgrading Flow's support for React. Common errors found when
- * upgrading Flow's React support are documented at
- * https://fburl.com/eq7bs81w */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment
+ * suppresses an error when upgrading Flow's support for React. To see the
+ * error delete this comment and run Flow. */
this._viewRef = ref;
};
diff --git a/Libraries/Lists/FlatList.js b/Libraries/Lists/FlatList.js
index b35a2f418..6fc108e7c 100644
--- a/Libraries/Lists/FlatList.js
+++ b/Libraries/Lists/FlatList.js
@@ -412,10 +412,9 @@ class FlatList extends React.PureComponent, void> {
_listRef: VirtualizedList;
_captureRef = ref => {
- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
- * error when upgrading Flow's support for React. Common errors found when
- * upgrading Flow's React support are documented at
- * https://fburl.com/eq7bs81w */
+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment
+ * suppresses an error when upgrading Flow's support for React. To see the
+ * error delete this comment and run Flow. */
this._listRef = ref;
};
diff --git a/Libraries/Lists/ListView/ListView.js b/Libraries/Lists/ListView/ListView.js
index 20d0bb4a4..1afdde664 100644
--- a/Libraries/Lists/ListView/ListView.js
+++ b/Libraries/Lists/ListView/ListView.js
@@ -92,9 +92,9 @@ var DEFAULT_SCROLL_CALLBACK_THROTTLE = 50;
* rendering rows.
*/
-/* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an error
- * found when Flow v0.53 was deployed. To see the error delete this comment and
- * run Flow. */
+/* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This comment
+ * suppresses an error when upgrading Flow's support for React. To see the
+ * error delete this comment and run Flow. */
var ListView = createReactClass({
displayName: 'ListView',
_childFrames: ([]: Array