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 } from './hooks/useDispatch'
|
7
|
import { useSelector } from './hooks/useSelector'
|
8
|
import { useStore } from './hooks/useStore'
|
9
|
|
10
|
import { getBatch } from './utils/batch'
|
11
|
import shallowEqual from './utils/shallowEqual'
|
12
|
|
13
|
// For other renderers besides ReactDOM and React Native, use the default noop batch function
|
14
|
const batch = getBatch()
|
15
|
|
16
|
export {
|
17
|
Provider,
|
18
|
connectAdvanced,
|
19
|
ReactReduxContext,
|
20
|
connect,
|
21
|
batch,
|
22
|
useDispatch,
|
23
|
useSelector,
|
24
|
useStore,
|
25
|
shallowEqual
|
26
|
}
|