Skip to content

Commit d808e84

Browse files
committed
export hooks
1 parent f826c96 commit d808e84

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

src/index.js

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

6+
import { useDispatch } from './hooks/useDispatch'
7+
import { useSelector } from './hooks/useSelector'
8+
import { useStore } from './hooks/useStore'
9+
610
import { setBatch } from './utils/batch'
711
import { unstable_batchedUpdates as batch } from './utils/reactBatchedUpdates'
812

913
setBatch(batch)
1014

11-
export { Provider, connectAdvanced, ReactReduxContext, connect, batch }
15+
export {
16+
Provider,
17+
connectAdvanced,
18+
ReactReduxContext,
19+
connect,
20+
batch,
21+
useDispatch,
22+
useSelector,
23+
useStore
24+
}

0 commit comments

Comments
 (0)