2017-6-8 23:09| 发布者: joejoe0332| 查看: 673| 评论: 0|原作者: oschina|来自: oschina
React Native 0.45.0 已正式发布。该版本有如下的重大变更:
删除 React 的转发和错误导入警告(Remove React forwarding and wrong import warnings)
以及其他更改:
Bug 修复
XMLHttpRequest withCredentials defaults to "true" (7c3918b) - @DanielZlotin
Return findNodeHandle to public api (7063261) - @skv-headless
Fix warnings in TouchableHighlight (bd00456) - @zjj010104
TouchableHighlight
新特性和增强
TouchableHighlight needs to set _isMounted false when it unmounts. (d40a7ea) - @sahrens
Custom build options: Move transform options into own property (8533c0d) - @davidaurelio
Work around a false positive isMounted() warning (074c3ce) - @gaearon
isMounted()
CLI: Stronger typing for transformers (73fc439) - @davidaurelio
CLI: Disable no-alert eslint rule for node code (d2505e7) - @davidaurelio
no-alert
CLI: Get rid of FBism in Config (b9fb229) - @davidaurelio
Config
CLI: Resolve path at callsite rather than in Config.loadFile (edf1774) - @davidaurelio
Config.loadFile
CLI: Fix Promise resolve callback error (7dd2cd3) - @johnislarry
Fixed default placeholder text color for multiline (cf975bb) - @shergi
Allow calling NativeViewHierarchyManager.addRootView() off the UI thread (20c2ae8) - @AaaChiuuu
FlatList: use $ReadOnlyArray for section stuff (5084e1b) - @sahrens
FlatList: Make section key optional (8d373f3) - @sahrens
FlatList: Many improvements (28aaa88) - @sahrens
FlatList: Fix and optimize VirtualizedList update triggers (52e50af) - @sahrens
FlatList: Made getItem and getItemCount required props (VirtualizedList) (beeffb8) - @mariten
getItem
getItemCount
FlatList: Add ListEmptyComponent prop (264d67c) - @Minishlink
FlatList: flipped leading/trailing separators.updateProps (5c7c65e) - @sahrens
FindNodeHandle properly handles ReactCurrentOwner.current Fiber type (909fb72) - @bvaughn
Sync React 16 from alpha 6 to 12 (ef0bd5c) - @bvaughn
Open in editor fix, show tip instead of error (9934131) - @skv-headless
Fix parseFloat mistaken uses of "radix" (37f3ce1) - @zertosh
Add flow to processColor.js (c7e0f56) - @TheSavior
processColor.js
Add method on YellowBox to ignore warnings (a974c14)
Refactor MessageQueue (0a55e42) - @rh389
Order modules in bundle by path. (978592f) - @amnn
更新内容较多,详情点此参阅。
下载地址
Source code (zip)
Source code (tar.gz)
: 看着牙疼!
关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号 )