source: node_modules/react-redux/src/exports.ts

Last change on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[a762898]1import connect from './components/connect'
2export type {
3 Connect,
4 ConnectProps,
5 ConnectedProps,
6} from './components/connect'
7
8import shallowEqual from './utils/shallowEqual'
9
10import Provider from './components/Provider'
11import { defaultNoopBatch } from './utils/batch'
12
13export { ReactReduxContext } from './components/Context'
14export type { ReactReduxContextValue } from './components/Context'
15
16export type { ProviderProps } from './components/Provider'
17
18export type {
19 MapDispatchToProps,
20 MapDispatchToPropsFactory,
21 MapDispatchToPropsFunction,
22 MapDispatchToPropsNonObject,
23 MapDispatchToPropsParam,
24 MapStateToProps,
25 MapStateToPropsFactory,
26 MapStateToPropsParam,
27 MergeProps,
28 Selector,
29 SelectorFactory,
30} from './connect/selectorFactory'
31
32export { createDispatchHook, useDispatch } from './hooks/useDispatch'
33export type { UseDispatch } from './hooks/useDispatch'
34
35export { createSelectorHook, useSelector } from './hooks/useSelector'
36export type { UseSelector } from './hooks/useSelector'
37
38export { createStoreHook, useStore } from './hooks/useStore'
39export type { UseStore } from './hooks/useStore'
40
41export type { Subscription } from './utils/Subscription'
42
43export * from './types'
44
45/**
46 * @deprecated As of React 18, batching is enabled by default for ReactDOM and React Native.
47 * This is now a no-op that immediately runs the callback.
48 */
49const batch = defaultNoopBatch
50
51export { Provider, batch, connect, shallowEqual }
Note: See TracBrowser for help on using the repository browser.