设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

React Native 0.16发布,用React编写移动应用

2015-12-6 20:58| 发布者: joejoe0332| 查看: 1085| 评论: 0|原作者: oschina|来自: oschina

摘要: React Native 0.16 发布,此版本总共包括 80 位贡献者提交 260 个 commits。更新内容JSAdded Babel helpers for es2015 imports (gist). ffea779For-of support: 5dc40afSupport for ES6 modules in Babel plugins d ...

React Native 0.16 发布,此版本总共包括 80 位贡献者提交 260 个 commits。

更新内容

JS

  • Added Babel helpers for es2015 imports (gist). ffea779

  • For-of support: 5dc40af

  • Support for ES6 modules in Babel plugins dff8f53

Android

  • Added PullToRefreshViewAndroid: 37f8134, cad4686

  • Android view shadows: b65f1f2

  • Proper touch handling for transformed Views on Android: c929e15

0.16.0-rc

高级别改进

Android

  • Android supports custom fonts; only TTF and OTF for now. bfeaa6a

  • The Android ViewPager gets setPageWithoutAnimation. 50b8b00

  • Images within a TextView, i.e. emojis, are now supported. a0268a7

  • The Android performance profiler, Systrace, gets thorough documentation. d2c5045

iOS

  • The keyboardAppearance prop was added to iOS TextInput. Useful for displaying a dark keyboard. f407211

  • AsyncLocalStorage gets an in-memory cache. 397791f

  • TextInput supports the onSelectionChange event. 5a34a09

  • iOS RCTPasteboard was released. Useful for copy-to-clipboard behavior. 26cb6be

重大改进

  • React Native now uses Babel 6, props to Tadeu Zagallo for upgrading and thanks David Aurelio and Sebastian McKenzie for all the help! We've been using React Native with Babel 6 at Facebook for quite a while now. Nevertheless, please report any errors related to Babel, such as transforms for some JS features not working as expected and we'll fix them.

  • Touch events on Android now have coordinates consistent with iOS: 0c2ee5d

  • YellowBox enabled by default on iOS: 8ab5182

  • JS decorators won't work until T2645 lands in Babel. It's being worked on. The proposal for decorators is not final and therefore Babel 6 left decorator support out for now.

  • Exporting default class that extends a base class won't work due to Babel's T2694.

  • RCTSparseArray was replaced by NSDictionary. Modules using RCTSparseArray should update. fa0b45c

  • RCTWebViewExecutor was removed. 0764e4e

下载:https://github.com/facebook/react-native/archive/v0.16.0.zip

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


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部