![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
React Native
jwzhangjie
工作9年,游戏SDK开发4年
展开
-
React Native -- Flexbox
1、alignItems enum('flex-start', 'flex-end', 'center', 'stretch')源码描述// How to align children in the cross direction // https://developer.mozilla.org/en-US/docs/Web/CSS/align-items alignItems: Reac原创 2015-09-28 16:41:10 · 7421 阅读 · 2 评论 -
React Native -- StyleSheet
StyleSheet样式表来渲染组件的样式,源码如下: /* Code quality: * * - By moving styles away from the render function, you're making the code * easier to understand. * - Naming the styles is a good way to add mean原创 2015-10-09 13:50:47 · 4637 阅读 · 0 评论 -
React Native -- The Life-Cycle of a Composite Component
/** * ------------------ The Life-Cycle of a Composite Component ------------------ * * - constructor: Initialization of state. The instance is now retained. * - componentWillMount * - render原创 2015-10-09 16:55:39 · 3449 阅读 · 0 评论