react-native/Libraries
liushigit c7d37a208a Correcting a mistake in the minimal example in the FlatList doc
Summary:
The list items' selected state is inside the `selected` Map, not inside the `state`.

This PR corrects a small mistake in the minimal example in the Documentatioin of the FlatList component.

1. Create a vanilla React Native project.
2. Create the components involved in the minimal example of FlatList.
3. Run to see if the `selected` property of the `MyListItem` changes as intended.

Currently the example has this mistake so an error will show up when running:
![2017-05-05 2 00 12](https://cloud.githubusercontent.com/assets/5442413/25735154/c091f11a-319b-11e7-9646-427c6a56f901.png)
Closes https://github.com/facebook/react-native/pull/13795

Differential Revision: D5010105

Pulled By: javache

fbshipit-source-id: 09585cea2f2e3e6746419ef54ef8da9dbdb8dbb1
2017-05-05 11:49:26 -07:00
..
ART Apple TV Support: Add tvOS build support for ART library 2017-04-20 16:15:38 -07:00
ActionSheetIOS Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
AdSupport Update AdSupportIOS.js 2017-04-28 06:34:21 -07:00
Alert Export Alert's type ButtonsArray for external use 2017-03-06 12:44:47 -08:00
Animated Add request/cancelAnimationFrame to jest setup 2017-05-04 17:35:06 -07:00
AppState Fix the website build 2017-02-21 09:11:01 -08:00
BatchedBridge Refactor MessageQueue 2017-04-28 04:04:14 -07:00
BugReporting Patch up for future React Sync 2017-02-08 14:50:43 -08:00
CameraRoll Export an object instead of array for asset type 2017-05-04 21:49:45 -07:00
Components Sync React 16 from alpha 6 to 12 2017-05-03 17:16:48 -07:00
Core Manually inline parseErrorStack 2017-03-28 08:38:13 -07:00
DebugComponentHierarchy Move React Core Integration to a Dependency 2016-04-21 09:28:23 -07:00
EventEmitter Native Animated - Restore, reorganize and add new tests 2017-03-27 11:46:05 -07:00
Experimental Ran PropTypes -> prop-types codemod against Libraries/FBReactKit/js/react-native-github 2017-04-12 16:15:15 -07:00
Geolocation Include Create React Native App in Getting Started 2017-04-26 07:16:18 -07:00
Image Sync React 16 from alpha 6 to 12 2017-05-03 17:16:48 -07:00
Inspector Ran PropTypes -> prop-types codemod against Libraries/FBReactKit/js/react-native-github 2017-04-12 16:15:15 -07:00
Interaction Fixes "guesture" typo in PanResponser docs 2017-04-03 09:15:29 -07:00
JSInspector Add Network agent 2016-11-02 12:29:15 -07:00
LayoutAnimation Deploy v0.43.0 2017-04-05 18:31:06 -07:00
Linking update docs for Linking.openURL 2017-04-28 04:04:14 -07:00
LinkingIOS Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
Lists Correcting a mistake in the minimal example in the FlatList doc 2017-05-05 11:49:26 -07:00
Modal Ran PropTypes -> prop-types codemod against Libraries/FBReactKit/js/react-native-github 2017-04-12 16:15:15 -07:00
NativeAnimation Native Animated - Support decay on iOS 2017-04-24 04:31:43 -07:00
Network Change Promise.done to Promise.then 2017-04-16 15:30:46 -07:00
Performance Sync React 16 from alpha 6 to 12 2017-05-03 17:16:48 -07:00
PermissionsAndroid Include Create React Native App in Getting Started 2017-04-26 07:16:18 -07:00
PushNotificationIOS Update documentation to stop using search path and old import syntax 2017-04-28 05:56:58 -07:00
RCTTest Merge all copies of RUN_RUNLOOP_WHILE in UIExplorerUnitTests 2017-04-21 08:35:46 -07:00
ReactNative Update AppRegistry.registerComponent's parameter. 2017-05-03 18:01:32 -07:00
Renderer findNodeHandle properly handles ReactCurrentOwner.current Fiber type 2017-05-04 16:02:50 -07:00
Sample Fix missing RCTBridgeModule.h 2017-01-31 11:13:50 -08:00
Settings Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
Share Flowify Process Color 2017-04-26 11:31:56 -07:00
Storage correctly order ASyncStorage 2017-02-21 15:18:40 -08:00
StyleSheet Fix parseFloat mistaken uses of "radix" 2017-05-03 23:00:39 -07:00
Text Revert D4680300: [RN] BREAKING: Better TextInput: `contentSize` property was removed from `<TextInput>.onChange` event. 2017-05-01 21:15:44 -07:00
Utilities BREAKING - Remove React forwarding and wrong import warnings 2017-04-26 10:02:32 -07:00
Vibration Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
WebSocket Merge RCTPackagerClient into RCTPackagerConnection 2017-05-05 08:49:28 -07:00
react-native Sync React 16 from alpha 6 to 12 2017-05-03 17:16:48 -07:00
vendor Remove `copyProperties` 2017-03-21 08:01:58 -07:00
Promise.js Allow Promise to display error strings and not just error objects. 2017-03-09 14:30:57 -08:00
promiseRejectionIsError.js RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00