react-native/Examples
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
..
2048 Test PR 12 2015-12-03 07:49:27 -08:00
Movies fix android movie example by adding missing permission 2015-12-09 22:40:28 -08:00
TicTacToe Remove newline in TicTacToe example 2015-11-30 11:11:24 -08:00
UIExplorer Fixed controlled component on iOS and remove unnecessary code 2015-12-14 06:46:31 -08:00