文档 http://facebook.github.io/react-native/
GitHub https://github.com/facebook/react-native 这么快已经 800+ 个 star 了
Twitter 上也热闹死了 https://twitter.com/search?q=react%20native&src=typd
文档主要说的是 iOS, 好像没 Android 的事情, 等演讲视频放出再细看下吧
有兴趣的可以看看直播页面 https://f8.facebooklive.com/
四月份又多了事情可以忙了:
var React = require('react-native');
var { Image, StyleSheet, Text, View } = React;
var ReactNative = React.createClass({
render: function() {
return (
<View style={styles.row}>
<Image
source={{uri: 'http://facebook.github.io/react/img/logo_og.png'}}
style={styles.image}
/>
<View style={styles.text}>
<Text style={styles.title}>
React Native
</Text>
<Text style={styles.subtitle}>
Build high quality mobile apps using React
</Text>
</View>
</View>
);
},
});
var styles = StyleSheet.create({
row: { flexDirection: 'row', margin: 40 },
image: { width: 40, height: 40, marginRight: 10 },
text: { flex: 1, justifyContent: 'center'},
title: { fontSize: 11, fontWeight: 'bold' },
subtitle: { fontSize: 10 },
});