react-native/Libraries/Components
Brent Vatne c8108bdbe1 Fixed controlled component on iOS and remove unnecessary code
Summary:
Closes #4290

`mostRecentEventCount` was always being set after `text` on iOS, so let's be really explicit about the order here as we were doing on Android: always call `setNativeProps` providing the `mostRecentEventCount` before we call `onChange` or `onChangeText`.

I also ripped out storing `mostRecentEventCount` in the state, which isn't necessary since we're always doing it through `setNativeProps`.
Closes https://github.com/facebook/react-native/pull/4588

Reviewed By: svcscm

Differential Revision: D2754565

Pulled By: nicklockwood

fb-gh-sync-id: a1401f39b4e19248095517c2a3503cd2af59fa47
2015-12-14 06:46:31 -08:00
..
ActivityIndicatorIOS Compose propTypes from View.propTypes where appropriate. 2015-11-18 13:06:27 -08:00
Clipboard add Clipboard component for ios and android 2015-12-09 10:04:21 -08:00
DatePicker Fix flow errors in fbobjc 2015-12-04 11:56:29 -08:00
DrawerAndroid fix lint warnings from DrawerLayoutAndroid 2015-12-11 23:05:27 -08:00
Intent Codemod IntentAndroid.{openURI -> openURL} 2015-11-23 11:04:29 -08:00
MapView Android - Fixing #4392 2015-12-05 14:59:29 -08:00
Navigation Docs warn navigator ios 2015-12-09 04:34:30 -08:00
ProgressBarAndroid Compose propTypes from View.propTypes where appropriate. 2015-11-18 13:06:27 -08:00
ProgressViewIOS Compose propTypes from View.propTypes where appropriate. 2015-11-18 13:06:27 -08:00
ScrollView Remove scrollview support from UIManager, remove mainScrollView(delegate) 2015-11-25 04:12:34 -08:00
SegmentedControlIOS Compose propTypes from View.propTypes where appropriate. 2015-11-18 13:06:27 -08:00
SliderIOS added method to set thumb image 2015-11-24 16:10:04 -08:00
StatusBar Release React Native for Android 2015-09-14 18:13:39 +01:00
Switch Use requireNativeComponent with propTypes for Android components. 2015-11-18 06:36:28 -08:00
SwitchAndroid Use requireNativeComponent with propTypes for Android components. 2015-11-18 06:36:28 -08:00
SwitchIOS Compose propTypes from View.propTypes where appropriate. 2015-11-18 13:06:27 -08:00
TabBarIOS Added RCTImageSource 2015-12-08 03:32:30 -08:00
TextInput Fixed controlled component on iOS and remove unnecessary code 2015-12-14 06:46:31 -08:00
ToastAndroid Fix errors uncovered by v0.19.0 2015-12-01 20:11:26 -08:00
ToolbarAndroid RTL support added for ToolbarAndroid via "rtl" property 2015-12-03 05:18:26 -08:00
Touchable Use console.error() for the Touchable.js bug so we can capture it in production logs 2015-12-03 09:02:25 -08:00
UnimplementedViews Quick fix to require cycle in UnimplementedView 2015-11-23 14:14:32 -08:00
View fix several lint warnings 2015-12-01 07:26:29 -08:00
ViewPager Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
WebView Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
ScrollResponder.js Remove scrollview support from UIManager, remove mainScrollView(delegate) 2015-11-25 04:12:34 -08:00
StaticContainer.js Move stuff out of vendor/react_contrib/ 2015-10-12 11:18:30 -07:00
StaticRenderer.js [Haste] @provides -> @providesModule StaticRenderer 2015-05-14 08:42:13 -08:00
Subscribable.js [ReactNative] clean lint for Libraries/Components 2015-05-18 15:54:07 -08:00