React Native 0.57.4 发布,使用 React 编写原生应用的框架

栏目: 服务器 · 发布时间: 7年前

内容简介:React Native 0.57.4要注意的是,当升级到这个版本时,至少需要将 react 和 react-test-renderer 升级到 "16.6.0-alpha.8af6728",这是为即将到来的 React 16.6.0 的 "first class support" 做准备。

React Native 0.57.4 已发布

要注意的是,当升级到这个版本时,至少需要将 react 和 react-test-renderer 升级到 "16.6.0-alpha.8af6728",这是为即将到来的 React 16.6.0 的 "first class support" 做准备。

更新内容

Added: new features

Android specific additions

  • Android textTransform style support ( 22cf5dc by Stephen Cook)

Changes: existing functionality that is now different

Android specific changes

iOS specific changes

Fixed: bugs that have been resolved

  • Fix crashes on invalid regex ( 298f14d by  @RSNara )

  • Fix pull to refresh refresh component clipping on Android ( 8a3a0ad by Andy Huang)

  • ListView requestAnimationFrame leak ( 70b5eb3 by  @exced )

Android specific fixes

  • reverted Update bad method

  • Fix accessibility role crash ( 139559f by Haseeb Saeed)

  • Fix accessibilityRole value lookup ( 1f96ff6 by  @ayc1 )

  • Fix DynamicFromMap object pool synchronization ( b0d68c0 by  @haitaoli )

  • Back out "[react-native][pr] Rounded corner rendering fixed on Android N." ( bb407fa by Jonathan Lee)

  • Fix onTextLayout metrics on Android when using alignText ( 1c240ae by  @mmmulani )

  • Cleaning up imports in ViewGroupManager ( 082a869 by  @mdvacca )

iOS specific fixes

  • Fix issue when inserting text at 0 when maxLength is set ( 36507e4 by  @ejanzer )

Removed: features that have been removed; these are breaking

Known issues

There are a few issues that don't have a finalized solution (as it happens for 0.x projects). In particular, when using Xcode 10 and react-native init , your build may fail due to third-party build steps ( #20774 ). There is a  commit we are planning to cherry pick in a future release that should help - in the meantime, you should be able to run these commands from the project folder to fix the issue (you should need to do it only once per project):

$ cd node_modules/react-native
$ scripts/ios-install-third-party.sh
$ cd third-party/glog-0.3.5/
$ ../../scripts/ios-configure-glog.sh

源码下载 https://github.com/facebook/react-native/releases/tag/v0.57.4


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

算法学

算法学

哈雷尔 / 第1版 (2006年2月1日) / 2006年2月1日 / 38.0

本书的意图在于按序学习或研究,而不是作为一个参考。因而按照每章依赖于前面章节的结构组织本书,且流畅易读。第一部分预备知识中的大部分材料对于那些具有程序设计背景的人是熟悉的。无论是否恰当,本书包含了计算机科学家当前感兴趣的研究专题的简明讨论。这本教科书的书后有每章详细参考书目的注记,并通过“后向”指针把教科书中的讨论与相关文献联系起来。目前的版本包含大量习题,以及大约三分之一的题解。可用题解作为教科......一起来看看 《算法学》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具