react-native/Libraries/Experimental
Guilherme Varandas de416e7d06 Removing TimerMixin on SwipeableRow (#21499)
Summary:
Related to #21485.
Removed TimerMixin from the SwipeableRow component since it is currently not used.
Added a test case for `SwipeableRow` animation in the `SwipeableListViewSimpleExample`, by adding the `bounceFirstRowOnMount` prop, to check for any runtime issues with the setTimeout method.

- [x] `npm run prettier`
- [x] `npm run flow-check-ios`
- [x] `npm run flow-check-android`
- [x] runtime tests using `SwipeableFlatListExample` on Android and iOS
- [x] runtime tests using `SwipeableListViewSimpleExample` on Android and iOS

**RNTester steps**

- [x] Run RNTester.
- [x] Navigate to `SwipeableFlatListExample` and check if the `_animateBounceBack` animation executes when the `shouldBounceOnMount` props is passed.
- [x] Swipe the row and check if the events ran correctly
- [x] Navigate to `SwipeableListViewSimpleExample` and check if the `_animateBounceBack` animation executes when the `shouldBounceOnMount` props is passed.
- [x] Swipe the row and check if the events ran correctly

[GENERAL] [ENHANCEMENT] [Libraries/Experimental/SwipeableRow/SwipeableRow.js] - remove TimerMixin dependency
[GENERAL] [ENHANCEMENT] [RNTester/js/SwipeableListViewSimpleExample.js] - Add bounceFirstRowOnMount to guarantee the SwipeableRow correct behavior.
Pull Request resolved: https://github.com/facebook/react-native/pull/21499

Reviewed By: TheSavior

Differential Revision: D10218361

Pulled By: RSNara

fbshipit-source-id: c8e6d5ced4c1237e48bb4c43592016684b2c6360
2018-10-08 10:31:35 -07:00
..
SwipeableRow Removing TimerMixin on SwipeableRow (#21499) 2018-10-08 10:31:35 -07:00
Incremental.js Fix Incremental children flow type 2018-10-04 14:33:56 -07:00
IncrementalExample.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
IncrementalGroup.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
IncrementalPresenter.js Remove PropTypes from IncrementalPresenter (#21343) 2018-09-27 10:47:57 -07:00
WindowedListView.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00