React-Native v0.27-rc 发布

jopen 8年前
   <h3 style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/dccc9890e84dd9577c35752a1d6967ac.png" /></h3>    <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>重大更改</h3>    <ul>     <li>Kill NavigationLegacyNavigator (<a href="/misc/goto?guid=4958990511225974162">ef44781</a>) - <a href="/misc/goto?guid=4958990511313125485">@hedgerwang</a></li>     <li>Kill NavigationExperimental Containers (<a href="/misc/goto?guid=4958990511391336042">14eb427</a>) - <a href="/misc/goto?guid=4958990511482855286">@ericvicenti</a></li>     <li>Kill NavigationView (<a href="/misc/goto?guid=4958990511565324256">c3714d7</a>) - <a href="/misc/goto?guid=4958990511313125485">@hedgerwang</a></li>    </ul>    <h3>新功能和增强功能</h3>    <ul>     <li>Animated: Implement toJSON method of Animated (<a href="/misc/goto?guid=4958990511654331484">17f0807</a>) - <a href="/misc/goto?guid=4958990511750110824">@wusuopu</a></li>     <li>Make RefreshControl properly controlled by JS (<a href="/misc/goto?guid=4958990511834738649">9aa37e8</a>) - <a href="/misc/goto?guid=4958990511927130042">@janicduplessis</a></li>     <li>Add SwipeableListView (<a href="/misc/goto?guid=4958990511997774737">052cd7e</a> <a href="/misc/goto?guid=4958990512095087497">9b1a3c7</a> <a href="/misc/goto?guid=4958990512174492229">2a7f6ae</a>) - <a href="/misc/goto?guid=4958990512258265416">@fred2028</a></li>     <li>Expose a new prop <code>transition</code> for scene renderer. (<a href="/misc/goto?guid=4958990512342356160">55c3086</a>) - <a href="/misc/goto?guid=4958990511313125485">@hedgerwang</a></li>     <li>Add support for custom files in BugReporting (<a href="/misc/goto?guid=4958990512440872646">610cfdc</a>) - <a href="/misc/goto?guid=4958990512529477086">@lexs</a></li>     <li>Add "Open file" button to elements inspector (<a href="/misc/goto?guid=4958990512623808109">f203c5d</a>) - <a href="/misc/goto?guid=4958990512708876120">@frantic</a></li>     <li>Add <code>transform-react-jsx-source</code> to react-native preset (<a href="/misc/goto?guid=4958990512800050020">858643d</a>) - <a href="/misc/goto?guid=4958990512708876120">@frantic</a></li>     <li>Fork NavigationAnimatedView to NavigationTransitioner (<a href="/misc/goto?guid=4958990512890912074">7db7f78</a>) - <a href="/misc/goto?guid=4958990511313125485">@hedgerwang</a></li>     <li>Merge rnpm into react-native (<a href="/misc/goto?guid=4958990512977247743">149d0b9</a>) - <a href="/misc/goto?guid=4958990513068710557">@grabbou</a> <img alt="React-Native v0.27-rc 发布" src="https://simg.open-open.com/show/b587b878379f05b1b80d504299990bd8.png" width="64" height="64" /></li>    </ul>    <h3>Bug修复</h3>    <ul>     <li>Protect against JS module call race condition while initializing react instance (<a href="/misc/goto?guid=4958990513156057652">a1ba091</a>) - <a href="/misc/goto?guid=4958990513239771728">@astreet</a></li>     <li>Fix propType check for NavigationCard. (<a href="/misc/goto?guid=4958990513327912610">b1cd1cb</a>) - <a href="/misc/goto?guid=4958990511313125485">@hedgerwang</a></li>     <li>Fix RefreshControl race condition (<a href="/misc/goto?guid=4958990513414832817">8fbce30</a>) - <a href="/misc/goto?guid=4958990511927130042">@janicduplessis</a></li>     <li>NavigationExperimental: <code>didFocus</code> event should fired after transition finishes. (<a href="/misc/goto?guid=4958990513507008471">8975bb8</a>) -<a href="/misc/goto?guid=4958990511313125485">@hedgerwang</a></li>     <li>Fix RefreshControl on initial render will not beginRefresh when refreshing (<a href="/misc/goto?guid=4958990513601921358">cac5ce3</a>) - <a href="/misc/goto?guid=4958990513681640075">@aforty</a></li>     <li>Fix a bug where NavigationPropTypes.SceneRenderer was a plain object (<a href="/misc/goto?guid=4958990513781238215">0e997c6</a>) - <a href="/misc/goto?guid=4958990513857457509">@joenoon</a></li>     <li>Prevent <code>SwipeableRow</code> bleed (<a href="/misc/goto?guid=4958990513949593402">5146775</a>) - <a href="/misc/goto?guid=4958990512258265416">@fred2028</a></li>     <li>Fix 95% of WindowedListView jumpiness (<a href="/misc/goto?guid=4958990514036106893">5e91a2a</a>) - <a href="/misc/goto?guid=4958990514121734188">@sahrens</a></li>     <li>Fix Android flash and iOS juttering (<a href="/misc/goto?guid=4958990514210886031">62e588b</a>) - <a href="/misc/goto?guid=4958990512258265416">@fred2028</a></li>     <li>Fixed incorrect rows reported in onChangeVisibleRows (<a href="/misc/goto?guid=4958990514308377779">0aea74e</a>) - <a href="/misc/goto?guid=4958990514400970591">@dmueller39</a></li>    </ul>    <h3>Android</h3>    <h3>新功能和增强功能</h3>    <ul>     <li>Add pagingEnabled to HorizontalScrollView (<a href="/misc/goto?guid=4958990514482837800">a3146e4</a>) - <a href="/misc/goto?guid=4958990514563014587">@dmmiller</a></li>     <li>Open sourced SwipeRefreshLayoutRecordingModule (<a href="/misc/goto?guid=4958990514649615030">457e348</a>) - <a href="/misc/goto?guid=4958990514729794886">@bestander</a></li>     <li>Implement returnKeyType/returnKeyLabel (<a href="/misc/goto?guid=4958990514805981427">dd8caf4</a>) - <a href="/misc/goto?guid=4958990514902794894">@Bhullnatik</a></li>     <li>Add progressViewOffset to RefreshControl (<a href="/misc/goto?guid=4958990514989678211">f7ce0c1</a>) - <a href="/misc/goto?guid=4958990515081616830">@UnoDeTantos</a></li>     <li>Ability to disable/lock the android ViewPager scroll from props (<a href="/misc/goto?guid=4958990515165428957">31250ad</a>) - <a href="/misc/goto?guid=4958990515239267406">@kevinejohn</a></li>     <li>Fix race condition when clicks are received on react root view and react context is pending (<a href="/misc/goto?guid=4958990515320108115">fd37666</a>) - Olivier Notteghem</li>     <li>Add FpsListener to React Scroll Views (<a href="/misc/goto?guid=4958990515403510935">b67d4a2</a>) - Nathan Spaun</li>     <li>Upgrade to OkHttp3 (<a href="/misc/goto?guid=4958990515491562390">6bbaff2</a>) - <a href="/misc/goto?guid=4958990515576859577">@AndrewJack</a></li>     <li>Fix NetworkingModule construction with interceptors (<a href="/misc/goto?guid=4958990515657719824">921d0de</a>) - <a href="/misc/goto?guid=4958990514729794886">@bestander</a></li>     <li>More helpful error message when react-native start is forgotten (<a href="/misc/goto?guid=4958990515756756586">bc634ea</a>) - <a href="/misc/goto?guid=4958990515840464564">@codeheroics</a></li>    </ul>    <h3>Bug 修复</h3>    <ul>     <li>Fix Android picker controlling (<a href="/misc/goto?guid=4958990515936065296">0cd2904</a>) - <a href="/misc/goto?guid=4958990516007159748">@spicyj</a></li>     <li>Make Modal Status Bar Translucent (<a href="/misc/goto?guid=4958990516089669236">191d278</a>) - <a href="/misc/goto?guid=4958990516172744654">@jemise111</a></li>     <li>Increase the stack size for the React queue on older Android phones (<a href="/misc/goto?guid=4958990516262269218">d4f6f61</a>) - <a href="/misc/goto?guid=4958990516343596107">@nikki93</a></li>     <li>Update the timestamp we send in touch events to be the more accurate (<a href="/misc/goto?guid=4958990516437488723">f2c1868</a>) - <a href="/misc/goto?guid=4958990514563014587">@dmmiller</a></li>    </ul>    <h3>iOS</h3>    <h3>新功能和增强功能</h3>    <ul>     <li>NavigatorIOS: Expose interactivePopGestureEnabled property (<a href="/misc/goto?guid=4958990516528992974">4d2c72b</a>) - <a href="/misc/goto?guid=4958990516612778219">@rigdern</a></li>     <li>Make the root view background color explicit (<a href="/misc/goto?guid=4958990516694134066">fa5d1fe</a>) - <a href="/misc/goto?guid=4958990516786650280">@shaneosullivan</a></li>     <li>Callback with image height and width from IOSImagePicker (<a href="/misc/goto?guid=4958990516873918241">df40f48</a>) - <a href="/misc/goto?guid=4958990516945965921">@thans</a></li>     <li>Enable views to be nested within (<a href="/misc/goto?guid=4958990517041680162">fe5c0d2</a>) - <a href="/misc/goto?guid=4958990516612778219">@rigdern</a></li>     <li>Add Copy Stack button to Red Box (<a href="/misc/goto?guid=4958990517153535002">5047f6f</a>) - Chris Evans</li>    </ul>    <h3>Bug 修复</h3>    <ul>     <li>Fix distanceFilter caching for LocationObserver (<a href="/misc/goto?guid=4958990517235848268">2310494</a>) - <a href="/misc/goto?guid=4958990517320514643">@jrichardlai</a></li>     <li>ScrollView: Always fire onScroll event for the resting scroll position (<a href="/misc/goto?guid=4958990517390736599">deef8aa</a>) - <a href="/misc/goto?guid=4958990516612778219">@rigdern</a></li>     <li>Fixed crash due to inserting a nil object into an array in Image loader (<a href="/misc/goto?guid=4958990517494196019">ed1ee9b</a>) - <a href="/misc/goto?guid=4958879035739540392">@nicklockwood</a></li>     <li>Provide correct animation function for hiding keyboard (<a href="/misc/goto?guid=4958990517606606685">03edc75</a>) - <a href="/misc/goto?guid=4958990516612778219">@rigdern</a></li>     <li>Fixed NativeEventListener deregistration (<a href="/misc/goto?guid=4958990517699845207">516bf7b</a>) - <a href="/misc/goto?guid=4958879035739540392">@nicklockwood</a></li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4958990517803078493" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958990517889190414" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>