Skip to content

Commit

Permalink
feat(wx-react-native): react-native add unstable_batchedUpdates api
Browse files Browse the repository at this point in the history
  • Loading branch information
ykforerlang committed Jul 2, 2019
1 parent dfbac12 commit fc02117
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/wx-react-native/miniprogram_dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -101,7 +102,8 @@ export {
fetch,
alert,
requestAnimationFrame,
cancelAnimationFrame
cancelAnimationFrame,
unstable_batchedUpdates
}

export default {
Expand Down Expand Up @@ -149,5 +151,6 @@ export default {
fetch,
alert,
requestAnimationFrame,
cancelAnimationFrame
cancelAnimationFrame,
unstable_batchedUpdates
}

0 comments on commit fc02117

Please sign in to comment.