React-Native v0.38.0-rc.1 发布
jopen 8年前
<p style="text-align: center;"><strong><img alt="" src="https://simg.open-open.com/show/dccc9890e84dd9577c35752a1d6967ac.png" /></strong></p> <p> </p> <p> React Native 使你能够使用基于 JavaScript 和 React 一致的开发体验在本地平台上构建世界一流的应用程序体验。React Native 把重点放在所有开发人员关心的平台的开发效率上——开发者只需学习一种语言就能轻易为任何平台高效地编写代码。非死book 在多个应用程序产品中使用了 React Native,并将继续为 React Native 投资。</p> <p>React-Native 做了什么:</p> <ul> <li>React-Native 丢弃了 Webview。</li> <li>复用React,将 Dom 结构de改变通过 diff 算法处理后,由 js 传递给 native 进行底层视图布局。</li> <li>css-layout引擎,前端可以继续写熟悉的 css 语法,由引擎转化成 oc 底层的布局。</li> <li>对 js 暴露底层常用的 UI 组建。js 层可以直接对这些组件进行布局</li> </ul> <p> </p> <h2>更新日志</h2> <h3>Bug修复</h3> <ul> <li>Navigator - Fix wrong scene transformation after pop (<a href="/misc/goto?guid=4958995589995750538">f645389</a>) - <a href="/misc/goto?guid=4958995590115968765">@sooth-sayer</a></li> <li>Prevent crash when accessing child count, but child list is NULL. (<a href="/misc/goto?guid=4958995590248198882">bb84c37</a>) - <a href="/misc/goto?guid=4958995590384206940">@dshahidehpour</a></li> <li>Fix initial value of native Animated.Value (<a href="/misc/goto?guid=4958995590513096823">2b49edd</a>) - <a href="/misc/goto?guid=4958990511927130042">@janicduplessis</a></li> <li>Fix symbolication failure caused by attempt to modify frozen frame (<a href="/misc/goto?guid=4958995590700717045">0fe1c7a</a>) - <a href="/misc/goto?guid=4958995590819939190">@vladimir-kotikov</a></li> <li>Fix missing methods in Keyboard module (<a href="/misc/goto?guid=4958995590960564372">5105c09</a>) - <a href="/misc/goto?guid=4958995591080341034">@satya164</a></li> <li>Fix NavigationCardStackPanResponder to work with native animations (<a href="/misc/goto?guid=4958995591212706239">ac19276</a>) - <a href="/misc/goto?guid=4958990511927130042">@janicduplessis</a></li> <li>Make sure xhr req header’s value is String type (<a href="/misc/goto?guid=4958995591349598564">f9e36a0</a>) - <a href="/misc/goto?guid=4958546248249589446">@leeight</a></li> <li>Fix DebuggerWorker.js having code incompatible with node 5 (<a href="/misc/goto?guid=4958995592180681522">a16d728</a>) - <a href="/misc/goto?guid=4958995592310504827">@mhidou</a></li> </ul> <h3>新功能和增强功能</h3> <ul> <li>Deprecate MapView in favor of airbnb/react-native-maps (<a href="/misc/goto?guid=4958995592444938353">dca53fe</a>) - <a href="/misc/goto?guid=4958995592564438311">@mkonicek</a></li> <li>CSSLayout: Update CSSNodeFree for C#, Java and Objective-C (<a href="/misc/goto?guid=4958995592692530194">31d3926</a>) - <a href="/misc/goto?guid=4958995592810837492">@splhack</a></li> <li>CSSLayout: Suggest the compiler to inline smaller functions (<a href="/misc/goto?guid=4958995592939290958">942f724</a>) - <a href="/misc/goto?guid=4958992789649772397">@emilsjolander</a></li> <li>CSSLayout: Don’t preallocate child lists (<a href="/misc/goto?guid=4958995593113322340">d932c96</a>) - <a href="/misc/goto?guid=4958995593255498113">@swolchok</a></li> <li>CSSLayout: Exposing layout cache check publicly (<a href="/misc/goto?guid=4958995593383105851">e7dc71b</a>)</li> <li>Use native animations in TouchableBounce and TouchableOpacity (<a href="/misc/goto?guid=4958995593503185126">1bb323e</a>) - <a href="/misc/goto?guid=4958995593632803595">@skevy</a></li> <li>Show Warning for Background Remote Debuggers (<a href="/misc/goto?guid=4958995593762543977">8b653cd</a>) - <a href="/misc/goto?guid=4958991717076942010">@yungsters</a></li> <li>Adding Jest preset so that people can configure Jest using react-native as preset (<a href="/misc/goto?guid=4958995593937931073">6d3e074</a>)</li> <li>Use yarn when available (<a href="/misc/goto?guid=4958995594063433992">94711bf</a>) - <a href="/misc/goto?guid=4958995592564438311">@mkonicek</a></li> <li>Fallback to JS Animation if native animated is not present (<a href="/misc/goto?guid=4958995594215440846">3237ade</a>) - <a href="/misc/goto?guid=4958995594334019941">@fkgozali</a></li> <li>Upgrade to lodash@^4.16.6, results in faster packager and smaller npm install size (<a href="/misc/goto?guid=4958995594464592689">237ab33</a>) -<a href="/misc/goto?guid=4958995594592131759">@zertosh</a></li> <li>Bunch of documentation updates, including better user experience, more detailed explanations and more. Thanks to <a href="/misc/goto?guid=4958995594716826811">@aybb</a>, <a href="/misc/goto?guid=4958995594838479733">@lacker</a>, <a href="/misc/goto?guid=4958995594966356216">@hramos</a> and the entire team!</li> <li>Integration test stability: add delay before starting TimersTest (<a href="/misc/goto?guid=4958995595094587252">0698b2b</a>) - <a href="/misc/goto?guid=4958995595231450674">@dlowder-salesforce</a></li> <li>Modernize AppContainer and add rootTag in the child context (<a href="/misc/goto?guid=4958995595351555377">fb7fe2d</a>) - <a href="/misc/goto?guid=4958995594334019941">@fkgozali</a></li> </ul> <h2>下载</h2> <ul> <li><a href="/misc/goto?guid=4958995595499302037" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4958995595609852003" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li> </ul> <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/2d06fb3b">http://www.open-open.com/news/view/2d06fb3b</a></p>