React-Native v0.38.0-rc.1 發布

jopen 8年前發布 | 10K 次閱讀 IOS Android 原生應用 React-Native JavaScript

 

   React Native 使你能夠使用基于 JavaScript 和 React 一致的開發體驗在本地平臺上構建世界一流的應用程序體驗。React Native 把重點放在所有開發人員關心的平臺的開發效率上——開發者只需學習一種語言就能輕易為任何平臺高效地編寫代碼。非死book 在多個應用程序產品中使用了 React Native,并將繼續為 React Native 投資。

React-Native 做了什么:

  • React-Native 丟棄了 Webview。
  • 復用React,將 Dom 結構de改變通過 diff 算法處理后,由 js 傳遞給 native 進行底層視圖布局。
  • css-layout引擎,前端可以繼續寫熟悉的 css 語法,由引擎轉化成 oc 底層的布局。
  • 對 js 暴露底層常用的 UI 組建。js 層可以直接對這些組件進行布局

 

更新日志

Bug修復

新功能和增強功能

  • Deprecate MapView in favor of airbnb/react-native-maps (dca53fe) - @mkonicek
  • CSSLayout: Update CSSNodeFree for C#, Java and Objective-C (31d3926) - @splhack
  • CSSLayout: Suggest the compiler to inline smaller functions (942f724) - @emilsjolander
  • CSSLayout: Don’t preallocate child lists (d932c96) - @swolchok
  • CSSLayout: Exposing layout cache check publicly (e7dc71b)
  • Use native animations in TouchableBounce and TouchableOpacity (1bb323e) - @skevy
  • Show Warning for Background Remote Debuggers (8b653cd) - @yungsters
  • Adding Jest preset so that people can configure Jest using react-native as preset (6d3e074)
  • Use yarn when available (94711bf) - @mkonicek
  • Fallback to JS Animation if native animated is not present (3237ade) - @fkgozali
  • Upgrade to lodash@^4.16.6, results in faster packager and smaller npm install size (237ab33) -@zertosh
  • Bunch of documentation updates, including better user experience, more detailed explanations and more. Thanks to @aybb@lacker@hramos and the entire team!
  • Integration test stability: add delay before starting TimersTest (0698b2b) - @dlowder-salesforce
  • Modernize AppContainer and add rootTag in the child context (fb7fe2d) - @fkgozali

下載

本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/2d06fb3b

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!