React Native 0.57.8 发布了,要注意的是,当升级到这个版本时,至少需要将 react 和 react-test-renderer 升级到 "16.6.0-alpha.8af6728",这是为即将到来的 React "16.6.3" 的 "first class support" 做准备。
更新内容
Added
Changed
Switch: Improve Accessibility (83d1e85 by @yungsters)
React sync for revisions 3ff2c7c...6bf5e85 (8d1d47a by @yungsters)
iOS specific
Extend reason message for
RCTFatalException
(#22532) (ba50151 by @zackzachariah)
Removed
Fixed
Fixes animated gifs incorrectly looping/not stopping on last frame (#21999) (95ef882 by @staufman)
Fix ListEmptyComponent is rendered upside down when using inverted flag. (#21496) (30c2fb8 by @hyochans)
Fix bug in comparison logic of object property (#22348) (692fc2e by @vreality64)
Fix dispatch of OnLayout event for first render (3576819 by @mdvacca)
KeyboardAvoidingView: Duration cannot be less then 10ms (#21858) (472e978)
default hitSlop values to 0 (#22281) (274f5b8 by @Taylor123)
iOS specific
Fixed for supporting mediaPlaybackRequiresUserAction under iOS 10. (#22208) (79011d7 by @ifsnow)
Use main.jsbundle in iOS template for production build (#22531) (8ba5d4c by @radeno)
Use relative path for SCRIPTDIR (#22598) (0301a2e by @sunnylqm)
Avoid using
-[UITextView setAttributedString:]
while user is typing (#19809) (26775d5)
Security
源码下载 >>> https://github.com/facebook/react-native/releases/tag/v0.57.8