@@ -548,9 +548,9 @@ const ScrollView = createReactClass({
548548 } ,
549549
550550 _getKeyForIndex : function ( index , childArray ) {
551- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
552- * error found when Flow v0.53 was deployed . To see the error delete this
553- * comment and run Flow. */
551+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss ) This comment
552+ * suppresses an error when upgrading Flow's support for React . To see the
553+ * error delete this comment and run Flow. */
554554 const child = childArray [ index ] ;
555555 return child && child . key ;
556556 } ,
@@ -580,9 +580,9 @@ const ScrollView = createReactClass({
580580 if ( ! this . props . stickyHeaderIndices ) {
581581 return ;
582582 }
583- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
584- * error found when Flow v0.53 was deployed . To see the error delete this
585- * comment and run Flow. */
583+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss ) This comment
584+ * suppresses an error when upgrading Flow's support for React . To see the
585+ * error delete this comment and run Flow. */
586586 const childArray = React . Children . toArray ( this . props . children ) ;
587587 if ( key !== this . _getKeyForIndex ( index , childArray ) ) {
588588 // ignore stale layout update
@@ -592,13 +592,13 @@ const ScrollView = createReactClass({
592592 const layoutY = event . nativeEvent . layout . y ;
593593 this . _headerLayoutYs . set ( key , layoutY ) ;
594594
595- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
596- * error found when Flow v0.53 was deployed . To see the error delete this
597- * comment and run Flow. */
595+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss ) This comment
596+ * suppresses an error when upgrading Flow's support for React . To see the
597+ * error delete this comment and run Flow. */
598598 const indexOfIndex = this . props . stickyHeaderIndices . indexOf ( index ) ;
599- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
600- * error found when Flow v0.53 was deployed . To see the error delete this
601- * comment and run Flow. */
599+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss ) This comment
600+ * suppresses an error when upgrading Flow's support for React . To see the
601+ * error delete this comment and run Flow. */
602602 const previousHeaderIndex = this . props . stickyHeaderIndices [ indexOfIndex - 1 ] ;
603603 if ( previousHeaderIndex != null ) {
604604 const previousHeader = this . _stickyHeaderRefs . get (
@@ -697,33 +697,34 @@ const ScrollView = createReactClass({
697697
698698 const { stickyHeaderIndices} = this . props ;
699699 const hasStickyHeaders = stickyHeaderIndices && stickyHeaderIndices . length > 0 ;
700- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
701- * error found when Flow v0.53 was deployed . To see the error delete this
702- * comment and run Flow. */
700+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss ) This comment
701+ * suppresses an error when upgrading Flow's support for React . To see the
702+ * error delete this comment and run Flow. */
703703 const childArray = hasStickyHeaders && React . Children . toArray ( this . props . children ) ;
704704 const children = hasStickyHeaders ?
705- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
706- * error found when Flow v0.53 was deployed. To see the error delete this
707- * comment and run Flow. */
705+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss ) This
706+ * comment suppresses an error when upgrading Flow's support for React.
707+ * To see the error delete this comment and run Flow. */
708708 childArray . map ( ( child , index ) => {
709- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
710- * error found when Flow v0.53 was deployed. To see the error delete
711- * this comment and run Flow. */
709+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss ) This
710+ * comment suppresses an error when upgrading Flow's support for React.
711+ * To see the error delete this comment and run Flow. */
712712 const indexOfIndex = child ? stickyHeaderIndices . indexOf ( index ) : - 1 ;
713713 if ( indexOfIndex > - 1 ) {
714714 const key = child . key ;
715- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses
716- * an error found when Flow v0.53 was deployed. To see the error
717- * delete this comment and run Flow. */
715+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss ) This
716+ * comment suppresses an error when upgrading Flow's support for
717+ * React. To see the error delete this comment and run Flow. */
718718 const nextIndex = stickyHeaderIndices [ indexOfIndex + 1 ] ;
719719 return (
720720 < ScrollViewStickyHeader
721721 key = { key }
722722 ref = { ( ref ) => this . _setStickyHeaderRef ( key , ref ) }
723723 nextHeaderLayoutY = {
724- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment
725- * suppresses an error found when Flow v0.53 was deployed. To
726- * see the error delete this comment and run Flow. */
724+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss)
725+ * This comment suppresses an error when upgrading Flow's
726+ * support for React. To see the error delete this comment and
727+ * run Flow. */
727728 this . _headerLayoutYs . get ( this . _getKeyForIndex ( nextIndex , childArray ) )
728729 }
729730 onLayout = { ( event ) => this . _onStickyHeaderLayout ( index , event , key ) }
@@ -735,17 +736,16 @@ const ScrollView = createReactClass({
735736 return child ;
736737 }
737738 } ) :
738- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
739- * error found when Flow v0.53 was deployed. To see the error delete this
740- * comment and run Flow. */
739+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss ) This
740+ * comment suppresses an error when upgrading Flow's support for React.
741+ * To see the error delete this comment and run Flow. */
741742 this . props . children ;
742743 const contentContainer =
743744 < ScrollContentContainerViewClass
744745 { ...contentSizeChangeProps }
745- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
746- * error when upgrading Flow's support for React. Common errors found
747- * when upgrading Flow's React support are documented at
748- * https://fburl.com/eq7bs81w */
746+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
747+ * comment suppresses an error when upgrading Flow's support for React.
748+ * To see the error delete this comment and run Flow. */
749749 ref = { this . _setInnerViewRef}
750750 style = { contentContainerStyle}
751751 removeClippedSubviews = {
@@ -786,9 +786,9 @@ const ScrollView = createReactClass({
786786 onResponderGrant : this . scrollResponderHandleResponderGrant ,
787787 onResponderReject : this . scrollResponderHandleResponderReject ,
788788 onResponderRelease : this . scrollResponderHandleResponderRelease ,
789- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
790- * error found when Flow v0.53 was deployed. To see the error delete this
791- * comment and run Flow. */
789+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss ) This
790+ * comment suppresses an error when upgrading Flow's support for React.
791+ * To see the error delete this comment and run Flow. */
792792 onResponderTerminate : this . scrollResponderHandleTerminate ,
793793 onResponderTerminationRequest : this . scrollResponderHandleTerminationRequest ,
794794 onScroll : this . _handleScroll ,
@@ -818,10 +818,9 @@ const ScrollView = createReactClass({
818818 // On iOS the RefreshControl is a child of the ScrollView.
819819 // tvOS lacks native support for RefreshControl, so don't include it in that case
820820 return (
821- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses
822- * an error when upgrading Flow's support for React. Common errors
823- * found when upgrading Flow's React support are documented at
824- * https://fburl.com/eq7bs81w */
821+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
822+ * comment suppresses an error when upgrading Flow's support for
823+ * React. To see the error delete this comment and run Flow. */
825824 < ScrollViewClass { ...props } ref = { this . _setScrollViewRef } >
826825 { Platform . isTVOS ? null : refreshControl }
827826 { contentContainer }
@@ -837,21 +836,19 @@ const ScrollView = createReactClass({
837836 return React . cloneElement (
838837 refreshControl ,
839838 { style : props . style } ,
840- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses
841- * an error when upgrading Flow's support for React. Common errors
842- * found when upgrading Flow's React support are documented at
843- * https://fburl.com/eq7bs81w */
839+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
840+ * comment suppresses an error when upgrading Flow's support for
841+ * React. To see the error delete this comment and run Flow. */
844842 < ScrollViewClass { ...props } style = { baseStyle } ref = { this . _setScrollViewRef } >
845843 { contentContainer }
846844 </ ScrollViewClass >
847845 ) ;
848846 }
849847 }
850848 return (
851- /* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
852- * error when upgrading Flow's support for React. Common errors found
853- * when upgrading Flow's React support are documented at
854- * https://fburl.com/eq7bs81w */
849+ /* $FlowFixMe(>=0.53.0 site=react_native_fb,react_native_oss) This
850+ * comment suppresses an error when upgrading Flow's support for React.
851+ * To see the error delete this comment and run Flow. */
855852 < ScrollViewClass { ...props } ref = { this . _setScrollViewRef } >
856853 { contentContainer }
857854 </ ScrollViewClass >
0 commit comments