React Native v0.31.0-rc 发布了,一般改进记录如下:
Bug 修复
Fix the getRowData method of SwipeableListViewDataSource in SwipeableListView (ba3c7ef) - @sscaff1
Fix bug in cancelling last task in TaskQueue (9b184cc) - @sahrens
Fix Navigator transition (5189c94) - @hedgerwang
Use active scene passed in
props
byNavigationTransitioner
(46a6851) - @jmurzyDon't block scroll when using non-touchable visible row for SwipeableRow (13a19a8) - @chirag04
RN: Change Time Drift Error into Warning (ed4db63) - @yungsters
新特性&增强
Add JSCHelper function to easily install native hooks outside of JSCExecutor (f534560) - @astreet
Add MessageQueue method for executing function and returning its result (7fa677f) - @javache
Add completion callback to enqueueJSCall (23e28ec) - @javache
Implement TextInput onContentSizeChange (2537157) - @janicduplessis
Better error message when trying to parse a empty body in fetch (eeb9cd8) - @astreet
Provide RTL support for new Navigator -- Make RTL works in NUX (38a6eec) - @MengjueW
Open in editor button for yellow box (c65eb4e) - @skv-headless
Initial implementation of requestIdleCallback (18394fb, 5618c3f) - @janicduplessis
Throw flow error when trying to access a style that is not defined on a stylesheet to catch typos and unused styles (a564af8) - @brentvatne
更多Android、iOS平台改进信息,可查看完整发布说明。