- implementing immutable.js

This commit is contained in:
2019-07-17 03:21:23 -04:00
parent 8ecf036cc4
commit 434a1ded24
39 changed files with 1123 additions and 187 deletions

View File

@@ -1,17 +1,15 @@
import { combineReducers } from 'redux';
import { combineReducers } from 'redux-immutable';
import { activeEvent } from './activeEvent.js';
import { auctions } from './auctions.js';
import { blockUI } from './blockUI.js';
import { events } from './events.js';
import { items } from './items.js';
const initialState = {
auction: {},
cart: [],
isFetching: false,
items: [],
profile: {},
};
const rootReducer = combineReducers({
activeEvent,
auctions,
blockUI,
events,
items,
});