react-native/Libraries
Edwin 8a7eb170dd Adds Animated.loop to Animated API
Summary:
* Any animation can be looped on the javascript thread
* Only basic animations supported natively at this stage, loops run
using the native driver cannot contain animations of type sequence,
parallel, stagger, or loop

Motivation: We need a spinner in our app that is displayed and animated while the javascript thread is tied up with other tasks. This means it needs to be offloaded from the javascript thread, so that it will continue to run while those tasks are churning away.

I originally submitted PR #9513, which has served our needs, but brentvatne pointed out a better way to do it. Had hoped his suggestion would be implemented by janicduplessis or another fb employee, but after 5 months I thought I'd give it another push.

I've put together an implementation that basically matches the suggested API. Let me know what you think, and whether others can pick it up from here and get it in to core.

Personal Motivation: I am leaving my current organisation on Feb 10th, so am trying to clean thing
Closes https://github.com/facebook/react-native/pull/11973

Differential Revision: D4704381

fbshipit-source-id: 42a2cdf5d53a7c0d08f86a58485f7f38739e6cd9
2017-03-14 00:00:08 -07:00
..
ART Better error for ART <Group /> 2016-12-07 17:13:42 -08:00
ActionSheetIOS Redo exported headers and include paths for opensource 2016-12-07 15:28:29 -08:00
AdSupport Redo exported headers and include paths for opensource 2016-12-07 15:28:29 -08:00
Alert Export Alert's type ButtonsArray for external use 2017-03-06 12:44:47 -08:00
Animated Adds Animated.loop to Animated API 2017-03-14 00:00:08 -07:00
AppState Fix the website build 2017-02-21 09:11:01 -08:00
BatchedBridge Ignore mocks in packager 2017-02-24 13:01:34 -08:00
BugReporting Patch up for future React Sync 2017-02-08 14:50:43 -08:00
CameraRoll fbobjc 2017-03-04 19:30:34 -08:00
Components Fixes spelling mistake inside TouchableNativeFeedback.android.js 2017-03-13 12:31:41 -07:00
Core Fixes type definition of StackFrame 2017-02-27 14:04:57 -08:00
CustomComponents Rename *Component props to match SectionList 2017-03-13 09:45:45 -07:00
DebugComponentHierarchy Move React Core Integration to a Dependency 2016-04-21 09:28:23 -07:00
EventEmitter RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00
Experimental Move new components out of `Experimental` directory 2017-03-01 09:16:05 -08:00
Geolocation Update Geolocation.js 2017-01-31 11:58:30 -08:00
Image Updating the documentation for getSize() 2017-03-08 06:45:22 -08:00
Inspector work around inspector redbox due to Fiber 2017-02-21 15:45:45 -08:00
Interaction Fix license headers 2017-03-08 00:52:17 -08:00
JSInspector Add Network agent 2016-11-02 12:29:15 -07:00
LayoutAnimation Revert D4494386: [react-native][PR] BREAKING - Remove LayoutAnimation experimental flag on Android 2017-03-09 20:16:37 -08:00
Linking Fix linking manager library name in documentation 2017-03-06 00:45:25 -08:00
LinkingIOS Redo exported headers and include paths for opensource 2016-12-07 15:28:29 -08:00
Modal Add property to force HW acceleration on Android for modal windows 2016-12-14 10:28:33 -08:00
NativeAnimation Native Animated - Support multiple events attached to the same prop 2017-03-09 15:30:28 -08:00
NavigationExperimental Add deprecation warning for NavigationExperimental 2017-03-02 11:00:46 -08:00
Network BREAKING: iOS: Support withCredentials flag in XHRs 2017-03-08 06:15:15 -08:00
Performance Support QuickPerformanceLogger.js in the old bridge 2017-02-16 11:33:48 -08:00
PermissionsAndroid inline a bunch of NativeModule requires 2017-02-17 16:49:38 -08:00
PushNotificationIOS Handle push notifications on iOS 2017-02-03 11:58:30 -08:00
RCTTest fbobjc 2017-03-04 19:30:34 -08:00
ReactNative YellowBox" Only provide elevation style prop when running on Android 2017-03-09 15:30:29 -08:00
Renderer Switch componentWillMount / componentWillUnmount order 2017-02-28 12:22:07 -08:00
Sample Fix missing RCTBridgeModule.h 2017-01-31 11:13:50 -08:00
Settings Redo exported headers and include paths for opensource 2016-12-07 15:28:29 -08:00
Share Update Share.js. Fixed bad grammar 2016-11-23 11:28:29 -08:00
Storage correctly order ASyncStorage 2017-02-21 15:18:40 -08:00
StyleSheet Add display:none support to react native 2017-03-01 09:16:05 -08:00
Text Better TextInput: RCTTextView and RCTTextField was marked as Yoga leaf nodes 2017-03-13 13:46:26 -07:00
Utilities Fix license headers 2017-03-08 00:52:17 -08:00
Vibration Redo exported headers and include paths for opensource 2016-12-07 15:28:29 -08:00
WebSocket Add RCTDevSettings module 2017-02-24 07:00:16 -08:00
react-native Move iOS Maps out of the GitHub repo to internal fb codebase 2017-03-08 05:01:36 -08:00
vendor RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00
Promise.js Allow Promise to display error strings and not just error objects. 2017-03-09 14:30:57 -08:00
promiseRejectionIsError.js RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00