diff --git a/Libraries/CustomComponents/ListView/ListView.js b/Libraries/CustomComponents/ListView/ListView.js index ecf446725..3fdb980b5 100644 --- a/Libraries/CustomComponents/ListView/ListView.js +++ b/Libraries/CustomComponents/ListView/ListView.js @@ -61,7 +61,7 @@ var SCROLLVIEW_REF = 'listviewscroll'; * * ``` * getInitialState: function() { - * var ds = new ListViewDataSource({rowHasChanged: (r1, r2) => r1 !== r2}); + * var ds = new ListView.DataSource({rowHasChanged: (r1, r2) => r1 !== r2}); * return { * dataSource: ds.cloneWithRows(['row 1', 'row 2']), * }; diff --git a/website/src/react-native/index.js b/website/src/react-native/index.js index f41416d41..3cc9fa6dc 100644 --- a/website/src/react-native/index.js +++ b/website/src/react-native/index.js @@ -30,7 +30,7 @@ var index = React.createClass({
React Native enables you to build world-class application experiences on native platforms using a consistent developer experience based on JavaScript and {' '}React{'. '} - The focus of React Native is on developer efficiency across all the platforms you care about - learn once, write anywhere. + The focus of React Native is on developer efficiency across all the platforms you care about — learn once, write anywhere. Facebook uses React Native in multiple production apps and will continue investing in React Native.