1
|
import Provider from './components/Provider'
|
2
|
import connectAdvanced from './components/connectAdvanced'
|
3
|
import { ReactReduxContext } from './components/Context'
|
4
|
import connect from './connect/connect'
|
5
|
|
6
|
import { useDispatch, createDispatchHook } from './hooks/useDispatch'
|
7
|
import { useSelector, createSelectorHook } from './hooks/useSelector'
|
8
|
import { useStore, createStoreHook } from './hooks/useStore'
|
9
|
|
10
|
import { setBatch } from './utils/batch'
|
11
|
import { unstable_batchedUpdates as batch } from './utils/reactBatchedUpdates'
|
12
|
import shallowEqual from './utils/shallowEqual'
|
13
|
|
14
|
setBatch(batch)
|
15
|
|
16
|
export {
|
17
|
Provider,
|
18
|
connectAdvanced,
|
19
|
ReactReduxContext,
|
20
|
connect,
|
21
|
batch,
|
22
|
useDispatch,
|
23
|
createDispatchHook,
|
24
|
useSelector,
|
25
|
createSelectorHook,
|
26
|
useStore,
|
27
|
createStoreHook,
|
28
|
shallowEqual
|
29
|
}
|