React-Native v0.30.0 发布

jopen 8年前
   <p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/dccc9890e84dd9577c35752a1d6967ac.png" /></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>重大改变</h3>    <ul>     <li>Navigationexperimental: Kill <code>NavigationAnimatedView</code> (<a href="/misc/goto?guid=4958992365604527040">8ce7ad4</a>) - <a href="/misc/goto?guid=4958992365723315680">@jmurzy</a></li>    </ul>    <h3>一般</h3>    <p><strong>Bug修复</strong></p>    <ul>     <li>Touchables: Expose Accessibility prop. Fix <a href="/misc/goto?guid=4958992365825853159">#6550</a> (<a href="/misc/goto?guid=4958992365959732526">4f18707</a>) - <a href="/misc/goto?guid=4958992366071687387">@omeid</a></li>     <li>Fix Navigator bug where jumping to the same route would show a blank screen (<a href="/misc/goto?guid=4958992366188089053">6982f5a</a>) -<a href="/misc/goto?guid=4958990512258265416">@fred2028</a></li>     <li>Migrate NavigationCardStack to NavigationTransitioner (<a href="/misc/goto?guid=4958992366327004921">47a7289</a>) - <a href="/misc/goto?guid=4958992365723315680">@jmurzy</a></li>     <li>Fix banner for old node version (<a href="/misc/goto?guid=4958992366443990314">523d39a</a>) - <a href="/misc/goto?guid=4958992366552083911">@johannes-scharlach</a></li>     <li>Fix measure callback for TextInput on Nodes (<a href="/misc/goto?guid=4958992366647310433">c95d3ef</a>) - <a href="/misc/goto?guid=4958992366739465134">@ahmedre</a></li>     <li>NavigationExperimental: Fix stale scene cleanup (<a href="/misc/goto?guid=4958992366823376566">b4d15d3</a>) - <a href="/misc/goto?guid=4958990511482855286">@ericvicenti</a></li>     <li>Fix navigation jump on multi-tap (<a href="/misc/goto?guid=4958992366935590771">b388665</a>) - <a href="/misc/goto?guid=4958990512258265416">@fred2028</a></li>     <li>If ExceptionsManager.handleException throws, throw the original error (<a href="/misc/goto?guid=4958992367030435193">8feb1dc</a>) - <a href="/misc/goto?guid=4958992367122434645">@mhorowitz</a></li>     <li>Fixing Syntax Error "errorMessage" is read-only (<a href="/misc/goto?guid=4958992367208323385">57d85f1</a>) - <a href="/misc/goto?guid=4958992367289085848">@K-Leon</a></li>     <li>Avoid Infinite Loop w/ Polyfills (<a href="/misc/goto?guid=4958992367372591977">9cb28b9</a>) - <a href="/misc/goto?guid=4958991717076942010">@yungsters</a></li>     <li>Fix transtion props layout in NavigationTransitioner. (<a href="/misc/goto?guid=4958992367487919371">37e41d2</a>) - <a href="/misc/goto?guid=4958990511313125485">@hedgerwang</a></li>     <li>Fix incorrect style props passed to Android Image when using children (<a href="/misc/goto?guid=4958992367597065927">7f9ec4e</a>) - <a href="/misc/goto?guid=4958992367684217152">@jeanregisser</a></li>     <li>Add null check in ExceptionsManager.js to Never Update JS Exception with a Null Stack (<a href="/misc/goto?guid=4958992367761842688">6fb110e</a>) -<a href="/misc/goto?guid=4958991714568290791">@lebronJ</a></li>     <li>Fix EventEmitter#once arguments not getting passed to the listener (<a href="/misc/goto?guid=4958992367874828922">73bea8f</a>) - <a href="/misc/goto?guid=4958992367951525897">@erickreutz</a></li>     <li>Fix Fetch error when debugging in Chrome (<a href="/misc/goto?guid=4958992368036464137">034b645</a>) - <a href="/misc/goto?guid=4958990514729794886">@bestander</a></li>     <li>Read navigation title from <code>scene.route.title</code> (<a href="/misc/goto?guid=4958992368146617320">730619d</a>) - <a href="/misc/goto?guid=4958992368237682414">@SunnyGurnani</a></li>    </ul>    <p><strong>新功能与改进</strong></p>    <ul>     <li>Support VSCode as a React Editor (<a href="/misc/goto?guid=4958992368319027137">d1690a8</a>) - <a href="/misc/goto?guid=4958992368409209244">@PatoBeltran</a></li>     <li>Pass the current and previous transition props to render, onTransitionStart and onTransitionEnd. (<a href="/misc/goto?guid=4958992368479007252">c57bac4</a>) - <a href="/misc/goto?guid=4958990511313125485">@hedgerwang</a></li>     <li>Add <code>NavigationStateUtils.back()</code> and <code>NavigationStateUtils.forward()</code>. (<a href="/misc/goto?guid=4958992368576621840">614f3c6</a>) -<a href="/misc/goto?guid=4958990511313125485">@hedgerwang</a></li>     <li>Pass TransitionProps to configureTransition for (<a href="/misc/goto?guid=4958992368665124764">d72f844</a>) - <a href="/misc/goto?guid=4958990511313125485">@hedgerwang</a></li>     <li>Allow to specify simulator OS version from cli (<a href="/misc/goto?guid=4958992368770835551">b046b2d</a>) - <a href="/misc/goto?guid=4958992368854876946">@tomkur</a></li>     <li>Add zIndex support (<a href="/misc/goto?guid=4958992368936264915">3d3b067</a>) - Tucker Connelly</li>    </ul>    <h3>iOS</h3>    <p><strong>Bug修复</strong></p>    <ul>     <li>Set state to <code>LOADING</code> on reload() in <code>WebView</code> (<a href="/misc/goto?guid=4958992369010156404">b2c5584</a>) - <a href="/misc/goto?guid=4958992369091935762">@stereodenis</a></li>     <li>Fix hardcoded path in <code>run-ios</code> (<a href="/misc/goto?guid=4958992369179398604">5276db4</a>) - <a href="/misc/goto?guid=4958992369274331843">@mroswald</a></li>     <li>Fix sending accessibility events to RN modals (<a href="/misc/goto?guid=4958992369348047862">fdcb865</a>) - <a href="/misc/goto?guid=4958992369432928307">@cjhopman</a></li>     <li>Fix multi-character TextInput (<a href="/misc/goto?guid=4958992369518446849">cc95927</a>) - <a href="/misc/goto?guid=4958991714926654571">@javache</a></li>     <li>Add the ability to set an image title in the NavigatorIOS (<a href="/misc/goto?guid=4958992369647943419">9bd80cb</a>) - <a href="/misc/goto?guid=4958992369740716643">@alvaromb</a></li>     <li>Fix ActivityIndicatorIOS doesn't hide initially (<a href="/misc/goto?guid=4958992369838970087">a589985</a>) - <a href="/misc/goto?guid=4958992369927207578">@redmar</a></li>     <li>Respect scale in RCTPhotoLibraryImageLoader (<a href="/misc/goto?guid=4958992370018526668">9a8fb9c</a>) - <a href="/misc/goto?guid=4958991715571617915">@paulshen</a></li>     <li>Allow RCTPhotoLibraryImageLoader to handle assets-library request (<a href="/misc/goto?guid=4958992370139058026">98f06c8</a>) - <a href="/misc/goto?guid=4958991720306903797">@nathanajah</a></li>     <li>Set LayoutParams in ReactTextView to fix crash (<a href="/misc/goto?guid=4958992370260931582">a8011bb</a>) - <a href="/misc/goto?guid=4958992370350327451">@ide</a></li>    </ul>    <p><strong>新功能与改进</strong></p>    <ul>     <li>Add Image resizeMode repeat (<a href="/misc/goto?guid=4958992370450087824">4c83237</a>) - <a href="/misc/goto?guid=4958990511927130042">@janicduplessis</a></li>     <li>Implement onTextInput events for RCTTextView (<a href="/misc/goto?guid=4958992370568877548">d29e8ae</a>) - <a href="/misc/goto?guid=4958991714926654571">@javache</a></li>    </ul>    <h3>Android</h3>    <p><strong>Bug修复</strong></p>    <ul>     <li>Implement addUIBlock to allow third party to resolve a view (<a href="/misc/goto?guid=4958992370674174888">af28de5</a>) - <a href="/misc/goto?guid=4958992370764100294">@gre</a></li>     <li>Persistent WebSocket connection from Android to Packager (<a href="/misc/goto?guid=4958992370854160020">adcb949</a>) - <a href="/misc/goto?guid=4958990512708876120">@frantic</a></li>     <li>Fix GIF Disappear when return from background (<a href="/misc/goto?guid=4958992370983300286">a87c9d5</a>) - @wenzhao.yin</li>     <li>Remove iOS platform check for running devtools (<a href="/misc/goto?guid=4958992371085863146">1c290d6</a>) - <a href="/misc/goto?guid=4958991719238532683">@kageurufu</a></li>     <li>Enable zoom on WebViews on Android (<a href="/misc/goto?guid=4958992371203075078">ca0c6db</a>) - <a href="/misc/goto?guid=4958990514563014587">@dmmiller</a></li>     <li>Return empty bundle when passing an empty map to toBundle (<a href="/misc/goto?guid=4958992371325951846">31f30aa</a>) - <a href="/misc/goto?guid=4958990514902794894">@Bhullnatik</a></li>    </ul>    <p><strong>新功能与改进</strong></p>    <ul>     <li>Decompose transform matrix in native (for android) (<a href="/misc/goto?guid=4958992371444227881">a59afb9</a>) - <a href="/misc/goto?guid=4958992371533249478">@kmagiera</a></li>     <li>Automatically run adb reverse tcp:8081 tcp:8081 when starting packager (<a href="/misc/goto?guid=4958992371634863274">1cc7ef0</a>) - <a href="/misc/goto?guid=4958992371729668586">@burgalon</a></li>     <li>Support selectable={true} property on Text fields on Android. (<a href="/misc/goto?guid=4958992371819816541">6cd7127</a>) - <a href="/misc/goto?guid=4958992371914346262">@mikelambert</a></li>     <li>Allow for customization of the RootViewManager (<a href="/misc/goto?guid=4958992372008006262">7476139</a>) - <a href="/misc/goto?guid=4958992366739465134">@ahmedre</a></li>     <li>Add the onNewIntent listener to React Native Android (<a href="/misc/goto?guid=4958992372109580989">2fc0f40</a>) - <a href="/misc/goto?guid=4958992372210013606">@ginandi</a></li>     <li>Add Copy and Dismiss Button in RN Android Red Box (<a href="/misc/goto?guid=4958992372298622385">dc3fce0</a>) - <a href="/misc/goto?guid=4958991714568290791">@lebronJ</a></li>     <li>Add ping to WebSocket (<a href="/misc/goto?guid=4958992372407065356">4ac4f86</a>) - <a href="/misc/goto?guid=4958992372503348973">@dbasedow</a></li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4958992372583185331" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958992372675202019" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>    <h2> </h2>