React-Native v0.42.0 发布

jopen 5年前
   <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>    <h2>更新日志</h2>    <h3>Bug修复</h3>    <ul>     <li>Fix JSC crash in dev (<a href="/misc/goto?guid=4959000962028373712">d2de604</a>) - <a href="/misc/goto?guid=4959000962140202539">@AlbertBrand</a></li>     <li>Fix startup exception (<a href="/misc/goto?guid=4959000962239171307">237ee2d</a>) - <a href="/misc/goto?guid=4958992789035541443">@philikon</a></li>     <li>Fix debugging doc (<a href="/misc/goto?guid=4959000962368146145">dd8231a</a>) - <a href="/misc/goto?guid=4959000962487408496">@AgtLucas</a></li>     <li>Fix Scroll blocking (<a href="/misc/goto?guid=4959000962603838481">0426732</a>) - <a href="/misc/goto?guid=4958992367289085848">@K-Leon</a></li>     <li>Fix some typos in NativeModulesAndroid.md (<a href="/misc/goto?guid=4959000962766644352">fa21822</a>) - <a href="/misc/goto?guid=4959000962879969240">@Minishlink</a></li>     <li>Fix UIExplorer getting in a broken state (<a href="/misc/goto?guid=4959000962985490901">9f10b85</a>) - <a href="/misc/goto?guid=4958991719636664401">@andreicoman11</a></li>     <li>Fix: webview.postMessage throws not a constructor in WebView 4.1 ~ 4.3 (<a href="/misc/goto?guid=4959000963144842033">af5c21b</a>) - <a href="/misc/goto?guid=4959000963262479019">@pinqy520</a></li>     <li>Fix TextInput placeholder font when using custom fonts (<a href="/misc/goto?guid=4959000963379321133">1100c40</a>) - <a href="/misc/goto?guid=4958990511927130042">@janicduplessis</a></li>     <li>Fix potential NPE in UIViewOperationQueue (<a href="/misc/goto?guid=4959000963546482645">cfb9028</a>)</li>     <li>Fix .gitignore of HelloWorld template to commit third party JARs (<a href="/misc/goto?guid=4959000963679707307">a45246e</a>) - <a href="/misc/goto?guid=4959000963791105381">@peggyrayzis</a></li>     <li>Fix layout animations for views with a transform (<a href="/misc/goto?guid=4959000963908464419">ee737e7</a>) - <a href="/misc/goto?guid=4958990511927130042">@janicduplessis</a></li>     <li>Reset pointerEvents on null value (<a href="/misc/goto?guid=4959000964057698704">866ac17</a>) - <a href="/misc/goto?guid=4958990513239771728">@astreet</a></li>    </ul>    <h3>New features and enahcements</h3>    <ul>     <li>Let LayoutAnimation respect style opacity (<a href="/misc/goto?guid=4959000964225779690">4c08105</a>) - <a href="/misc/goto?guid=4959000964343208162">@vinceyuan</a></li>     <li>Add link to Convoy app to showcase (<a href="/misc/goto?guid=4959000964460181857">2e8683b</a>) - <a href="/misc/goto?guid=4959000964582538463">@jcity</a></li>     <li>Add selectionColor prop for Text (<a href="/misc/goto?guid=4959000964698318581">72be2d3</a>) - <a href="/misc/goto?guid=4958995591080341034">@satya164</a></li>     <li>Add overScrollMode prop to ScrollView (<a href="/misc/goto?guid=4959000964865184291">12c4868</a>) - <a href="/misc/goto?guid=4958990516612778219">@rigdern</a></li>     <li>Implement Java bindings for custom baseline function (<a href="/misc/goto?guid=4959000965036175983">b5f382c</a>) - <a href="/misc/goto?guid=4958992789649772397">@emilsjolander</a></li>     <li>TextInput: Avoid firing onSubmitEditing twice (<a href="/misc/goto?guid=4959000965194059447">116916b</a>) - <a href="/misc/goto?guid=4959000965316898145">@reneweb</a></li>     <li>Support ScrollView.scrollToEnd natively (<a href="/misc/goto?guid=4959000965443916506">ad8cbb6</a>) - <a href="/misc/goto?guid=4958995592564438311">@mkonicek</a></li>     <li>Support invoking and returning arbitrary types from Java sync hooks (<a href="/misc/goto?guid=4959000965623642625">f8c72f5</a>) - <a href="/misc/goto?guid=4958991714926654571">@javache</a></li>     <li>Support tintColor and thumbTintColor for Switch (<a href="/misc/goto?guid=4959000965805823287">31099aa</a>) - <a href="/misc/goto?guid=4958995591080341034">@satya164</a></li>     <li>Support customizing thumb, track and progress colors for slider (<a href="/misc/goto?guid=4959000965951371088">295a015</a>) - <a href="/misc/goto?guid=4958995591080341034">@satya164</a></li>     <li>Add null checks for dynamics (<a href="/misc/goto?guid=4959000966094515029">b15c042</a>) - <a href="/misc/goto?guid=4958992789649772397">@emilsjolander</a></li>     <li>Add a missing include in a BUCK file (<a href="/misc/goto?guid=4959000966230875952">521e9c6</a>) - <a href="/misc/goto?guid=4958995592564438311">@mkonicek</a></li>     <li>Introducing <code>FallbackJSBundleLoader</code> (<a href="/misc/goto?guid=4959000966379257217">c3892fa</a>) - <a href="/misc/goto?guid=4959000966503234232">@amnn</a></li>     <li>Improve error messages when nesting View in Text (<a href="/misc/goto?guid=4959000966626530786">963e6e9</a>) - <a href="/misc/goto?guid=4958990513239771728">@astreet</a></li>     <li>Allow views to be collapsed when pointerEvents is set (<a href="/misc/goto?guid=4959000966761347827">88eeea0</a>) - <a href="/misc/goto?guid=4958991714926654571">@javache</a></li>     <li>Change DomStorageEnabled default value to true in a WebView (<a href="/misc/goto?guid=4959000966901675705">8290194</a>) - <a href="/misc/goto?guid=4959000967016918120">@sunnylqm</a></li>     <li>Allow accessing view managers as Native Modules (<a href="/misc/goto?guid=4959000967132024282">5e9db57</a>) - <a href="/misc/goto?guid=4959000967261548865">@AaaChiuuu</a></li>     <li>Don't require a DevSupportManager to create a DevInternalSettings (<a href="/misc/goto?guid=4959000967384426620">fc2936c</a>) - <a href="/misc/goto?guid=4959000967497319587">@devknoll</a></li>     <li>Delete ModuleRegistryHolder (<a href="/misc/goto?guid=4959000967616181635">0e7d0eb</a>) - <a href="/misc/goto?guid=4958991714926654571">@javache</a></li>     <li>Clarify a message in preferences.xml (<a href="/misc/goto?guid=4959000967757139890">725e8ab</a>) - <a href="/misc/goto?guid=4959000967867366374">@vonovak</a></li>     <li>Make consumption of NativeArray explicit (<a href="/misc/goto?guid=4959000967979678536">33fdce9</a>) - <a href="/misc/goto?guid=4958991714926654571">@javache</a></li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4959000968115828307" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4959000968229632409" 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/29dcbab8">http://www.open-open.com/news/view/29dcbab8</a></p>