发布于 2016-06-13 00:52:42 | 142 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的React Native官方指南,程序狗速度看过来!

React Native 用 React 开发移动应用

ReactNative 可以基于目前大热的开源JavaScript库React.js来开发iOS和Android原生App。而且React Native已经用于生产环境——Facebook Groups iOS 应用就是基于它开发的。


React Native v0.27.0 发布了。更新如下:

通行版:

重大更新

  • Kill NavigationLegacyNavigator (ef44781)

  • Kill NavigationExperimental Containers (14eb427)

  • Kill NavigationView (c3714d7

新特性和功能增强

  • Animated: Implement toJSON method of Animated (17f0807

  • Make RefreshControl properly controlled by JS (9aa37e8

  • Add SwipeableListView (052cd7e 9b1a3c7 2a7f6ae

  • Expose a new prop transition for scene renderer. (55c3086

  • Add support for custom files in BugReporting (610cfdc)

  • Add "Open file" button to elements inspector (f203c5d

  • Add transform-react-jsx-source to react-native preset (858643d)

  • Fork NavigationAnimatedView to NavigationTransitioner (7db7f78

  • Merge rnpm into react-native (149d0b9)

bug修复

  • Protect against JS module call race condition while initializing react instance (a1ba091

  • Fix propType check for NavigationCard. (b1cd1cb

  • Fix RefreshControl race condition (8fbce30

  • NavigationExperimental: didFocus event should fired after transition finishes. (8975bb8

  • Fix RefreshControl on initial render will not beginRefresh when refreshing (cac5ce3

  • Fix a bug where NavigationPropTypes.SceneRenderer was a plain object (0e997c6

  • Prevent SwipeableRow bleed (5146775

  • Fix 95% of WindowedListView jumpiness (5e91a2a

  • Fix Android flash and iOS juttering (62e588b)

  • Fixed incorrect rows reported in onChangeVisibleRows (0aea74e)

Android版

新特性和功能增强

  • Add pagingEnabled to HorizontalScrollView (a3146e4

  • Open sourced SwipeRefreshLayoutRecordingModule (457e348

  • Implement returnKeyType/returnKeyLabel (dd8caf4

  • Add progressViewOffset to RefreshControl (f7ce0c1

  • Ability to disable/lock the android ViewPager scroll from props (31250ad)

  • Fix race condition when clicks are received on react root view and react context is pending (fd37666

  • Add FpsListener to React Scroll Views (b67d4a2)

  • Upgrade to OkHttp3 (6bbaff2)

  • Fix NetworkingModule construction with interceptors (921d0de

  • More helpful error message when react-native start is forgotten (bc634ea

Bug 修复

  • Fix Android picker controlling (0cd2904

  • Make Modal Status Bar Translucent (191d278

  • Increase the stack size for the React queue on older Android phones (d4f6f61

  • Update the timestamp we send in touch events to be the more accurate (f2c1868

iOS版

新特性和功能增强

  • NavigatorIOS: Expose interactivePopGestureEnabled property (4d2c72b

  • Make the root view background color explicit (fa5d1fe

  • Callback with image height and width from IOSImagePicker (df40f48

  • Enable views to be nested within <Text> (fe5c0d2)

  • Add Copy Stack button to Red Box (5047f6f)

Bug 修复

  • Fix distanceFilter caching for LocationObserver (2310494

  • ScrollView: Always fire onScroll event for the resting scroll position (deef8aa

  • Fixed crash due to inserting a nil object into an array in Image loader (ed1ee9b

  • Provide correct animation function for hiding keyboard (03edc75

  • Fixed NativeEventListener deregistration (516bf7b

下载地址:



历史版本 :
React Native 0.47.0 正式版发布
React Native 0.45.0 正式发布,有重大变更
React Native 0.42.0 正式发布,大量修复和改进
React Native 0.41.0 正式发布,大量新功能和修复
React Native v0.40.0 和 0.41.0 rc0 发布
React Native 0.37 发布,删除弃用的 API 和模块
React Native v0.31.0-rc 发布
React Native 源码笔记——你知道几条?
React Native v0.29-rc 发布
React Native v0.27.0 发布
React Native 0.22 发布
React Native 0.16 发布,用 React 编写移动应用
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务