Skip to content

Commit 593592e

Browse files
committed
Inject unstable_batchedUpdates in default entry point
1 parent 0887834 commit 593592e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/index.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,9 @@ import connectAdvanced from './components/connectAdvanced'
33
import { ReactReduxContext } from './components/Context'
44
import connect from './connect/connect'
55

6-
export { Provider, connectAdvanced, ReactReduxContext, connect }
6+
import { setBatch } from './utils/batch'
7+
import { unstable_batchedUpdates as batch } from './utils/reactBatchedUpdates'
8+
9+
setBatch(batch)
10+
11+
export { Provider, connectAdvanced, ReactReduxContext, connect, batch }

0 commit comments

Comments
 (0)