react-native/Libraries
Héctor Ramos 86684a0a29 docs(AppState.js): update example to ES6
Summary:
If this is the way to go, I'll update the rest of the document :)

> Explain the **motivation** for making this change. What existing problem does the pull request solve?

- Update basic usage to latest ES6-7 syntax
- Provide a working simple example of using AppState
Closes https://github.com/facebook/react-native/pull/11879

Differential Revision: D4443891

Pulled By: hramos

fbshipit-source-id: 87433e994ee56050e24a3853f24a94b54f5586d4
2017-01-23 11:58:33 -08: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 Add one more parameter(keyboardType) to AlertIOS.promot(). 2017-01-19 14:43:37 -08:00
Animated Fix the suppress comment regex for react_native 2017-01-19 10:28:28 -08:00
AppState docs(AppState.js): update example to ES6 2017-01-23 11:58:33 -08:00
BatchedBridge Fix the suppress comment regex for react_native 2017-01-19 10:28:28 -08:00
BugReporting RN: Update React (2/2) 2016-11-04 05:43:44 -07:00
CameraRoll Add iOS permission information to CameraRoll.js 2016-12-22 17:13:31 -08:00
Components Guard against empy _inputRef in TextInput 2017-01-20 16:43:42 -08:00
Core Fix the suppress comment regex for react_native 2017-01-19 10:28:28 -08:00
CustomComponents fix direction of VerticalSwipeJump gestures 2017-01-12 17:43:42 -08: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 Fix Scrollblocking on Android 2017-01-19 14:43:37 -08:00
Geolocation Redo exported headers and include paths for opensource 2016-12-07 15:28:29 -08:00
Image Cache policy control for image source 2017-01-17 17:13:31 -08:00
Inspector Fix inspector overflow 2017-01-03 13:43:35 -08:00
Interaction Replace jest.resetModuleRegistry() with jest.resetModules() 2016-12-18 17:13:38 -08:00
JSInspector Add Network agent 2016-11-02 12:29:15 -07:00
LayoutAnimation Mention that LayoutAnimation has to be explicitly enabled on A… 2016-11-25 15:28:28 -08:00
Linking Auto-fix lint errors 2016-08-09 06:43:46 -07: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 fix crash on reload during animation 2017-01-05 21:59:19 -08:00
NavigationExperimental Fix the suppress comment regex for react_native 2017-01-19 10:28:28 -08:00
Network XHR: support typed arrays for request payloads 2017-01-20 18:43:27 -08:00
Performance Updated Systrace and RCTRenderingPerf to sync w/ React changes 2017-01-22 09:58:32 -08:00
PermissionsAndroid Update PermissionsAndroid docs to use new APIs 2017-01-09 00:43:31 -08:00
PushNotificationIOS Redo exported headers and include paths for opensource 2016-12-07 15:28:29 -08:00
RCTTest Apple TV support 4: support for input (tvOS focus engine) 2016-12-19 06:28:40 -08:00
ReactNative Fix passThroughTouches 2017-01-23 11:28:51 -08:00
Renderer Updated Systrace and RCTRenderingPerf to sync w/ React changes 2017-01-22 09:58:32 -08:00
Sample Update React Native minimum OS version to iOS8 2016-09-01 19:43:47 -07: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 result in RCTAsyncStorage.multiGet could be null. 2016-12-15 22:43:30 -08:00
StyleSheet Add percentage support to react native 2017-01-11 03:58:37 -08:00
Text Add selectionColor prop for Text on Android 2017-01-18 12:58:44 -08:00
Utilities XHR: support typed arrays for request payloads 2017-01-20 18:43:27 -08:00
Vibration Redo exported headers and include paths for opensource 2016-12-07 15:28:29 -08:00
WebSocket XHR: support typed arrays for request payloads 2017-01-20 18:43:27 -08:00
react-native RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00
vendor RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00
Promise.js Make onUnhandled safe for undefined errors 2016-08-02 07:58:28 -07:00
promiseRejectionIsError.js RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00