React-Native v0.44.0-rc.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 native animated event lag on Android (61d3741) - @janicduplessis
- Fix formatting in DatePickerAndroid.open docs (643925b) - @hramos
- Fix BundleHeader init in CatalystInstanceImpl (09fa9da) - @javache
- Fix copy/paste bug in open source BUCK file for React Native. (f9df89a) - @bolinfest
新功能和增強功能
- Add TextInput's prop caretHidden implementation (bb1f851)
- Update "Getting Started" to match latest Android Studio (3135a63) - @gaearon
- Change cursor color when using selectionColor on Android (ae57b25) - @janicduplessis
- Stop logging console logs from webview (cb68b97) - @fkgozali
- Support HTTP headers for source prop on components (8c0e6ec) - @mkonicek
- Docker Testing Environment for Android & JS (fe2ff12) - @nicktate
- Optional Alert onDismiss callback to support Android default behavior (27928f3) -@Benjamin-Dobell
- Expand the visible parts of the android bridge a little bit (0b921ef) - @mhorowitz
- Support barStyle (48a84df) - @sunnylqm
- Replace top-level
elif
withif
in BUCK files. (f294f61) - @bolinfest - Eliminate the need for
import re
in a BUCK file. (6a4f7c0) - @bolinfest - Introducing Responder and JSONObject to JSPackagerClient (e28a12c)
- Only call onLayout when layout has actually changed (15429e3) - @astreet
- Log ReactContext counters (1744639) - @alexeylang
- Yoga: More efficient decoding of Dynamic value in LayoutShadowNode (fb266fc) - @emilsjolander
iOS
Bug修復
- Only provide elevation style prop when running on Android (adeb5ff) - @cailenmusselman
- Fix badgeColor for previous iOS 10 versions (ca27416) - @benoitvallon
新功能和增強功能
- Don't add duplicate font entries to plist during link (c6c1c02) - @mosesoak
- Add RCTDevSettings module (6a14f0b) - @terribleben
- Recommend installing latest version of Xcode (8589094) - @hramos
- Expose 'RCTConvert UITabBarSystemItem:' in the header file (a512f6d) - @fkgozali
- Replace valueForKey with subscript access in RCTJavascriptLoader (a2000d1) - @javache
- Move RCTFollyConvert to the correct namespace (5d4ff69) - @javache
- Remove unused RCTMessageQueue (c529a06) - @javache
- Make RCTRefreshControl not dependent on order of setting properties (93a263d) - @mmmulani
- Simplifying RCTRootViewSizeFlexibility (ba170ec) - @shergin
- Rename
RCTShadowViews
'scssNode
property toyogaNode
(e361ce8) - @shergin - Remove leading space from accessibilityLabel (6fbc2c9) - @rigdern
- Better support of UIKit layout stuff for RCTRootView an co. (9dccff0) - @shergin
- RCTRootView's
intrinsicSize
property was deprecated in favour ofintrinsicContentSize
(e7cc1bc) - @shergin - Expose
accessibilityViewIsModal
property for any view (b00c1fa) - @shergin
General
Bug修復
- Fix animated blog lists (7f9876c) - @janicduplessis
- Yoga: Fix align-content strech with multiple lines (0ea4742) - @emilsjolander
- Yoga: Fix up some small issues with YGUnitAuto (1b5eb36) - @emilsjolander
- Yoga: Fix
align-content: strech
overridingalign-item
(1f45636) - @woehrl01 - Yoga: Fix comments about Yoga in LayoutPropType. (bac24dd) - @desmond1121
- Yoga: Fix margin auto for start and end values (d5a381f) - @emilsjolander
- Yoga: Fix percentage in flexing parent (f52d66c) - @woehrl01
- Yoga: Fix behaviour of wrapping container within align-items: not stretch (6ac6bf0) -@emilsjolander
- FlatList: Fix
getItemLayout
flow type to includeindex
(91bda43) - @sahrens - FlatList: API update and bug fixes (6283878) - @sahrens
- FlatList: Fix doubled ItemSeparators (5bec52b) - @sahrens
- FlatList: Fix minimumViewTime (e2578cc) - @sahrens
- Fix error handling for nested exceptions (8987d86) - @javache
- Fix react-native-git-upgrade cache busting (927b356) - @ncuillery
- Fix the website build (a5ea974) - @gmuraleekrishna
- Fix incorrect line numbers in test failures (91b2dbb) - @cpojer
- Fix typo in ResolutionRequest (cf627fb) - @cpojer
- Fix duplicate symbols error in the Creating Native UI Component docs (fab0992) - @hramos
- Fix typo in ViewabilityHelper (
itemVisiblePercentThreshold
mistyped) (9217ff3) - @rexxars - Flow: Fixes type definition of StackFrame (800dc77) - @wietsevenema
- Flow: Fix a bunch of flow annotations (2a3fe06) - @cpojer
- Flow: Fix flow errors (37b91a6) - @cpojer
- Flow: Fix flowconfig in starter project (b0bdbeb) - @skevy
- Fix lint errors 1/n (5403946) - @cpojer
- Fix lint errors 2/2 (4d00df4) - @cpojer
- Fix absolute imports on Windows (5facc23) - @janicduplessis
- Fix the RN OSS gradle build (18eb7ae) - @mhorowitz
新功能和增強功能
- Merge AndroidConstants and IOSConstants into PlatformConstants (dba133a) - @javache
- Fixes current CI failures and allows tree shaking of native dev support code. (19caaba) - @alloy
- Add deprecation warning for NavigationExperimental (39eddc1) - @ericvicenti
- Yoga: Add margin auto support to react native (cc27555) - @emilsjolander
- Yoga: Add display:none support to react native (4d69f4b) - @emilsjolander
- Yoga: Rename YGUnitPixel to YGPoint... (67f6b32) - @hartbit
- Yoga: Change flex getters to return the set values (80225fb) - @woehrl01
- Yoga: Expose alignContent to react native (31f848a) - @emilsjolander
- Yoga: Default root node to size of parent contraints (23f2f5f) - @emilsjolander
- Yoga: flex-wrap: wrap-reverse support (30f8380) - @woehrl01
- Yoga: Removed duplicate code by calculating with mainSize/crossSize (167ac49) - @woehrl01
- Yoga: Pass the parent size to YGNodeCalculateLayout instead of the node size (702564f) -@emilsjolander
- Yoga: Move configuration to new YGConfig and pass them down to CalculateLayout (bdd9aed) -@woehrl01
- CLI: Add support for templates fetched from npm (17c175a) - @mkonicek
- Add a hint to a very common AppRegistry error (a6adc50) - @mkonicek
- FlatList: Add SectionSeparatorComponent support (a141e63) - @sahrens
- FlatList: Native animated scroll event support (a9d5a0c) - @sahrens
- FlatList: Rename *Component props to match SectionList (376b586) - @sahrens
- FlatList: Warn about PureComponent in docs (ce0d641) - @sahrens
- FlatList: Simplify scroll interaction stuff (c8b1c73) - @sahrens
- FlatList: Improve flow typing (63d3ea1) - @sahrens
- FlatList: Propagate onScroll (7cfbb79) - @sahrens
- FlatList: configurable Viewability (f2687bf) - @sahrens
- FlatList: minViewTime and waitForScroll viewability config support (dc30203) - @sahrens
- FlatList: Rename flow type Viewable -> ViewToken (a10dbda) - @sahrens
- FlatList: Missed some viewablePercentThreshold references (f7d1060) - @sahrens
- FlatList: Move out of
Experimental
directory (7b35eb3) - @sahrens - Re-enable some failing tests (b2c545d) - @mmmulani
- Move DevTools integration into its own repo (934cd82) - @gaearon
- Expose AppRegistry.getRegistry() for app specific handling (a86559f) - @fkgozali
- Rename callFunction to jniCallFunction (a965f15) - @javache
- Prevent deadlock after bridge reload (bbe0c45) - @javache
- Update grammar and typos in documentation (c728915) - @j2kun
- Allow listener for native Animated.event (33817b8) - @janicduplessis
- Packager: Introducing async/await, return of the yarn (1a5b56d) - @jeanlauliac
- Packager: BatchProcessor: use Promise for queue() (bac576c) - @jeanlauliac
- Packager: BatchProcessor: use Promise for processBatch() (564126f) - @jeanlauliac
- Clean up Animated docs (6ad41a8) - @hramos
- Work around inspector redbox due to Fiber (fa34035) - @fkgozali
- Guard against missing native module (118e883) - @gaearon
- Support QuickPerformanceLogger.js in CxxBridge (ba029be) - @alexeylang
- Inline a bunch of NativeModule requires (1fa95ed) - @AaaChiuuu
- Remove @providesModule from polyfills (e11b9d8) - @voideanvalue
- Remove peculiar web language (c6d56d9) - @ryanflorence
- Update IntegrationWithExistingApps.md (dc52073) - @hramos
- Documented CameraRoll.getPhotos() param and return values (4b26ebd) - @xqwzts
- Ignore event listeners on unmounted components (fd4ad6c) - @sebmarkbage
- Move BatchedBridge module configuration to InitializeCore (68135d9) - @javache
- Update SwipeableListView props and more (3951223) - @fred2028
- Correct/consistent docs for Touchable components (64c8f22) - @jamesisaac
- Switch componentWillMount / componentWillUnmount order (5eb3ab3) - @sebmarkbage
- Packager: Terminal: split status too big to fit in screen (2030b6b) - @jeanlauliac
- Packager: Discard protocol, host, and port of URLs in bundle options (3a1af41) - @davidaurelio
- Packager: simplify fs.stat mocks (f117533) - @jeanlauliac
- Finish AccessibilityInfo implementation (04790f1) - @rigdern
- Don't use 'vertically' when describing a ListView (2d44908) - @PuercoPop
- Update UsingAScrollView.md (0097ab9) - @dfischer
- Refresh website (d54c7f8) - @hramos
- Deprecate NavigationExperimental (08dbc43) - @ericvicenti
- Improve doc generation with flow types (a7a3922) - @sahrens
- Improved flow on Picker.Item (dc334b0) - @agrcrobles
下載
本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/4188e923
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!