Skip to content

Commit

Permalink
fix: define batchedUpdates in @react-spring/native
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed Sep 26, 2020
1 parent ebd28f1 commit 39b40f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions targets/native/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { WithAnimated } from './animated'
import { AnimatedStyle } from './AnimatedStyle'

Globals.assign({
batchedUpdates: require('react-native').unstable_batchedUpdates,
createStringInterpolator,
colors,
})
Expand Down

0 comments on commit 39b40f3

Please sign in to comment.