1 | import conditionalReducer from './reducer/conditionalReducer';
|
2 | import joinReducers from './reducer/joinReducers';
|
3 | import reducerHash from './reducer/reducerHash';
|
4 |
|
5 | //***
|
6 | //*** Promote all library utilities through a single module.
|
7 | //***
|
8 |
|
9 | // NOTE: This non-default export supports ES6 imports.
|
10 | // Example:
|
11 | // import { reducerHash } from 'astx-redux-util';
|
12 | // -or-
|
13 | // import * as AstxReduxUtil from 'astx-redux-util';
|
14 | export {
|
15 | conditionalReducer,
|
16 | joinReducers,
|
17 | reducerHash,
|
18 | };
|
19 |
|
20 | // NOTE: This default export supports CommonJS modules (otherwise Babel does NOT promote them).
|
21 | // Example:
|
22 | // const { reducerHash } = require('astx-redux-util');
|
23 | // -or-
|
24 | // const AstxReduxUtil = require('astx-redux-util');
|
25 | export default {
|
26 | conditionalReducer,
|
27 | joinReducers,
|
28 | reducerHash,
|
29 | };
|