import { combineReducers } from 'redux';
import { routerReducer } from 'react-router-redux'

import { home } from './home';
import { global } from './global';

//注册reducer，每个自定义的reducer都要来这里注册！！！不注册会报错。
const rootReducer = combineReducers({
    routing: routerReducer,
    /* your reducers */
    home, //首页相关
    global//全局
});

export default rootReducer;
