Project

General

Profile

Download (249 Bytes) Statistics
| Branch: | Tag: | Revision:
import store from '../index';
import { combineReducersAsync } from './index';

const asyncReducers = {};

export default (name, asyncReducer) => {
asyncReducers[name] = asyncReducer;
store.replaceReducer(combineReducersAsync(asyncReducers));
};
(2-2/3)