React-Native v0.42.0 發布
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修復
- Fix JSC crash in dev (d2de604) - @AlbertBrand
- Fix startup exception (237ee2d) - @philikon
- Fix debugging doc (dd8231a) - @AgtLucas
- Fix Scroll blocking (0426732) - @K-Leon
- Fix some typos in NativeModulesAndroid.md (fa21822) - @Minishlink
- Fix UIExplorer getting in a broken state (9f10b85) - @andreicoman11
- Fix: webview.postMessage throws not a constructor in WebView 4.1 ~ 4.3 (af5c21b) - @pinqy520
- Fix TextInput placeholder font when using custom fonts (1100c40) - @janicduplessis
- Fix potential NPE in UIViewOperationQueue (cfb9028)
- Fix .gitignore of HelloWorld template to commit third party JARs (a45246e) - @peggyrayzis
- Fix layout animations for views with a transform (ee737e7) - @janicduplessis
- Reset pointerEvents on null value (866ac17) - @astreet
New features and enahcements
- Let LayoutAnimation respect style opacity (4c08105) - @vinceyuan
- Add link to Convoy app to showcase (2e8683b) - @jcity
- Add selectionColor prop for Text (72be2d3) - @satya164
- Add overScrollMode prop to ScrollView (12c4868) - @rigdern
- Implement Java bindings for custom baseline function (b5f382c) - @emilsjolander
- TextInput: Avoid firing onSubmitEditing twice (116916b) - @reneweb
- Support ScrollView.scrollToEnd natively (ad8cbb6) - @mkonicek
- Support invoking and returning arbitrary types from Java sync hooks (f8c72f5) - @javache
- Support tintColor and thumbTintColor for Switch (31099aa) - @satya164
- Support customizing thumb, track and progress colors for slider (295a015) - @satya164
- Add null checks for dynamics (b15c042) - @emilsjolander
- Add a missing include in a BUCK file (521e9c6) - @mkonicek
- Introducing
FallbackJSBundleLoader
(c3892fa) - @amnn - Improve error messages when nesting View in Text (963e6e9) - @astreet
- Allow views to be collapsed when pointerEvents is set (88eeea0) - @javache
- Change DomStorageEnabled default value to true in a WebView (8290194) - @sunnylqm
- Allow accessing view managers as Native Modules (5e9db57) - @AaaChiuuu
- Don't require a DevSupportManager to create a DevInternalSettings (fc2936c) - @devknoll
- Delete ModuleRegistryHolder (0e7d0eb) - @javache
- Clarify a message in preferences.xml (725e8ab) - @vonovak
- Make consumption of NativeArray explicit (33fdce9) - @javache
下載
本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/29dcbab8
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!