react-native/Examples/UIExplorer
Nick Lockwood e00b9ac8f3 Added incremental XMLHttpRequest updates
Summary:
@public

Previously, our XMLHttpRequest implementation would only update the readyState when the download was fully completed. This diff adds support for receiving incremental data updates as the download happens, which can be monitored by adding the onreadystatechange event handler.

As a performance optimization, incremental data updates are only sent if the onreadystatechanged handler has been set in the JS, otherwise it just sends the whole data block once download is complete, as before.

Test Plan:
* Run the UIExplorer XMLHttpRequest example (in both OSS and Catalyst) to see incremental downloads working.
* Run the Movies app to see regular (non-incremental) downloads in action
* Run any network-based app in Catalyst shell to verify RKDataManager still works
2015-06-05 15:21:25 -08:00
..
Navigator NavigatorIOS custom nav bar colors 2015-04-23 06:32:35 -08:00
UIExplorer [ReactNative] Run UIExplorer tests on sandcastle 2015-06-05 05:36:06 -08:00
UIExplorer.xcodeproj Optimised blending for translucent images with opaque background color + fixed cropping for images in cover/contain mode. 2015-05-22 07:19:06 -08:00
UIExplorerTests [SampleApp + UIExplorer] Typos in the tests 2015-06-02 19:48:17 -08:00
AccessibilityIOSExample.js Added accessibility sample for React Native 2015-05-28 04:22:57 -08:00
ActionSheetIOSExample.js [React Native] Sync from github 2015-03-27 22:09:11 -08:00
ActivityIndicatorIOSExample.js [Flow] Properly fix new errors as of Flow v0.10. 2015-04-27 14:56:21 -08:00
AdSupportIOSExample.js [React Native] Sync from github 2015-03-27 22:09:11 -08:00
AlertIOSExample.js [ReactNative] Add prompt to AlertIOS 2015-05-13 13:24:36 -07:00
AppStateIOSExample.js Observing "MemoryWarningNotification" and proxying it up to the DeviceEventEmitter 2015-05-22 13:09:56 -08:00
AsyncStorageExample.js Updates from Tue 7 Apr 2015-04-07 18:26:09 -07:00
BorderExample.js Implemented fast path for same borders/radii 2015-05-28 09:16:44 -08:00
CameraRollExample.ios.js [React Native] Sync from github 2015-03-27 22:09:11 -08:00
CameraRollView.ios.js [CameraRoll] support fetching videos from the camera roll 2015-06-01 15:57:32 -08:00
DatePickerIOSExample.js - [react-packager] Switch from Q to Bluebird as promises library | Pilwon Huh 2015-03-31 22:48:18 -07:00
ExampleTypes.js Fix lint errors and warnings 2015-05-14 09:39:52 -08:00
GeolocationExample.js [ReactNative] geolocation method docs 2015-04-24 16:26:28 -08:00
ImageCapInsetsExample.js [React Native] Sync from github 2015-03-27 22:09:11 -08:00
ImageExample.js [ReactNative] verifyPropTypes against native exports 2015-04-16 18:15:36 -08:00
ImageMocks.js [Nav] Add support for bar button icons and left buttons 2015-05-07 08:03:21 -08:00
LayoutEventsExample.js [ReactNative] Introduce onLayout events 2015-05-07 12:27:44 -08:00
LayoutExample.js [React Native] Sync from github 2015-03-27 22:09:11 -08:00
ListViewExample.js - [react-packager] Switch from Q to Bluebird as promises library | Pilwon Huh 2015-03-31 22:48:18 -07:00
ListViewPagingExample.js - [react-packager] Switch from Q to Bluebird as promises library | Pilwon Huh 2015-03-31 22:48:18 -07:00
MapViewExample.js Fix lint errors and warnings 2015-05-14 09:39:52 -08:00
NavigatorIOSColorsExample.js Fix lint errors and warnings 2015-05-14 09:39:52 -08:00
NavigatorIOSExample.js [Nav] Add support for bar button icons and left buttons 2015-05-07 08:03:21 -08:00
NetInfoExample.js [react_native] Implement connectivity module 2015-06-02 05:41:16 -08:00
PanResponderExample.js [ReactNative] Sort UIExplorer examples 2015-04-13 04:34:23 -08:00
PickerIOSExample.js - [react-packager] Switch from Q to Bluebird as promises library | Pilwon Huh 2015-03-31 22:48:18 -07:00
PointerEventsExample.js [Flow] v0.11.0 cleaning - Part 14 (react-native-github) 2015-05-13 13:24:36 -07:00
ProgressViewIOSExample.js Added ProgressViewIOS 2015-06-03 09:49:35 -08:00
PushNotificationIOSExample.js Updates from Wed 1 Apr 2015-04-01 18:37:03 -07:00
ResponderExample.js [ReactNative] Sort UIExplorer examples 2015-04-13 04:34:23 -08:00
ScrollViewExample.js Updates from Mon 30 Mar 2015-03-30 20:12:32 -07:00
SegmentedControlIOSExample.js Add SegmentedControlIOS 2015-04-29 08:08:45 -08:00
SliderIOSExample.js [React Native] Sync from github 2015-03-27 22:09:11 -08:00
StatusBarIOSExample.js Removed deprecated RCT_EXPORT + code paths 2015-06-05 09:58:25 -08:00
SwitchIOSExample.js - [react-packager] Switch from Q to Bluebird as promises library | Pilwon Huh 2015-03-31 22:48:18 -07:00
TabBarIOSExample.js [ReactNative] Fix UIExplorer tests 2015-05-27 18:16:02 -08:00
TextExample.ios.js Fixed text background color 2015-05-28 09:31:57 -08:00
TextInputExample.js Fix lint errors and warnings 2015-05-14 09:39:52 -08:00
TimerExample.js [React Native] Sync from github 2015-03-27 22:09:11 -08:00
TouchableExample.js [Touchable] Add custom delay props to Touchable components 2015-06-03 12:57:28 -08:00
TransformExample.js [react_native] JS files from D2036695: [ReactNative] Implement new transform API on Android 2015-06-02 07:30:28 -08:00
UIExplorerApp.js [React Native] Sync from github 2015-03-27 22:09:11 -08:00
UIExplorerBlock.js Fixed text background color 2015-05-28 09:31:57 -08:00
UIExplorerList.js Added incremental XMLHttpRequest updates 2015-06-05 15:21:25 -08:00
UIExplorerPage.js Updates from Tue 31 Mar 2015-03-31 19:01:48 -07:00
UIExplorerTitle.js [React Native] Sync from github 2015-03-27 22:09:11 -08:00
VibrationIOSExample.js [React Native] Sync from github 2015-03-27 22:09:11 -08:00
ViewExample.js [React Native] Sync from github 2015-03-27 22:09:11 -08:00
WebViewExample.js [react_native] JS files from D2017699: Expose JavaScriptEnabled property for WebView component on android. 2015-04-24 11:53:35 -08:00
XHRExample.js Added incremental XMLHttpRequest updates 2015-06-05 15:21:25 -08:00
createExamplePage.js [Flow] v0.11.0 cleaning - Part 14 (react-native-github) 2015-05-13 13:24:36 -07:00