From fc02117e8fcbe5d1b7a76df48accfb81cae059d0 Mon Sep 17 00:00:00 2001 From: ykforerlang <1527997464@qq.com> Date: Tue, 2 Jul 2019 16:27:35 +0800 Subject: [PATCH] feat(wx-react-native): react-native add unstable_batchedUpdates api --- packages/wx-react-native/miniprogram_dist/index.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/wx-react-native/miniprogram_dist/index.js b/packages/wx-react-native/miniprogram_dist/index.js index e560522..f106bc0 100644 --- a/packages/wx-react-native/miniprogram_dist/index.js +++ b/packages/wx-react-native/miniprogram_dist/index.js @@ -5,7 +5,8 @@ * LICENSE file in the root directory of this source tree. * */ - +import {unstable_batchedUpdates} from '@areslabs/wx-react' + import WXFlatList from './component/WXFlatList/index.comp' import WXSectionList from './component/WXSectionList/index.comp' import WXScrollView from './component/WXScrollView/index.comp' @@ -101,7 +102,8 @@ export { fetch, alert, requestAnimationFrame, - cancelAnimationFrame + cancelAnimationFrame, + unstable_batchedUpdates } export default { @@ -149,5 +151,6 @@ export default { fetch, alert, requestAnimationFrame, - cancelAnimationFrame + cancelAnimationFrame, + unstable_batchedUpdates } \ No newline at end of file