UNPKG

723 BJavaScriptView Raw
1import Provider from './components/Provider'
2import connectAdvanced from './components/connectAdvanced'
3import { ReactReduxContext } from './components/Context'
4import connect from './connect/connect'
5
6import { useDispatch } from './hooks/useDispatch'
7import { useSelector } from './hooks/useSelector'
8import { useStore } from './hooks/useStore'
9
10import { getBatch } from './utils/batch'
11import shallowEqual from './utils/shallowEqual'
12
13// For other renderers besides ReactDOM and React Native, use the default noop batch function
14const batch = getBatch()
15
16export {
17 Provider,
18 connectAdvanced,
19 ReactReduxContext,
20 connect,
21 batch,
22 useDispatch,
23 useSelector,
24 useStore,
25 shallowEqual
26}