React Native 0.57.8 釋出,使用 React 編寫原生應用的框架
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
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. (
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