Files
react-native/Libraries
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
..
2015-12-09 05:19:25 -08:00
2015-07-24 08:41:58 -08:00
2015-12-13 11:45:28 -08:00
2015-11-14 06:29:27 -08:00
2015-12-10 09:09:30 -08:00
2015-12-01 07:26:29 -08:00
2015-12-03 18:29:28 -08:00
2015-12-03 09:10:29 -08:00
2015-12-09 17:18:26 -08:00
2015-12-01 20:11:26 -08:00
2015-07-24 08:41:58 -08:00
2015-04-15 06:06:29 -08:00