Skip to content

Commit 2174189

Browse files
committed
fix: define batchedUpdates in @react-spring/native
1 parent d255bd7 commit 2174189

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

targets/native/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { WithAnimated } from './animated'
1111
import { AnimatedStyle } from './AnimatedStyle'
1212

1313
Globals.assign({
14+
batchedUpdates: require('react-native').unstable_batchedUpdates,
1415
createStringInterpolator,
1516
colors,
1617
})

0 commit comments

Comments
 (0)