From d944b08e29f36079c277cdca11a60c5c1b44ce0b Mon Sep 17 00:00:00 2001 From: Travis CI Date: Tue, 31 Mar 2015 17:13:03 +0000 Subject: [PATCH] update website --- docs/listview.html | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/listview.html b/docs/listview.html index 27eb15664bc..ed1decf9e2b 100644 --- a/docs/listview.html +++ b/docs/listview.html @@ -4,7 +4,7 @@ scrolling lists of changing data. The minimal API is to create a instantiate a ListView component with that data source and a renderRow callback which takes a blob from the data array and returns a renderable component.

Minimal example:

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/index.html b/index.html index bd2b2c94973..9542b746657 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ -React Native | A framework for building native apps using React
React Native
A framework for building native apps using React

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. Facebook uses React Native in multiple production apps and will continue investing in React Native.

Native iOS Components

With React Native, you can use the standard platform components such as UITabBar and UINavigationController on iOS. This gives your app a consistent look and feel with the rest of the platform ecosystem, and keeps the quality bar high. These components are easily incorporated into your app using their React component counterparts, such as TabBarIOS and NavigatorIOS.

var React = require('react-native'); +React Native | A framework for building native apps using React
React Native
A framework for building native apps using React

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. Facebook uses React Native in multiple production apps and will continue investing in React Native.

Native iOS Components

With React Native, you can use the standard platform components such as UITabBar and UINavigationController on iOS. This gives your app a consistent look and feel with the rest of the platform ecosystem, and keeps the quality bar high. These components are easily incorporated into your app using their React component counterparts, such as TabBarIOS and NavigatorIOS.

var React = require('react-native'); var { TabBarIOS, NavigatorIOS } = React; var App = React.createClass({