| changeset 3 | 3b5d37d84cfe |
| parent 1 | 431977d7c9a6 |
| child 12 | 48ddaa42b810 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/src/store/configureStore.js Tue May 23 13:15:34 2017 +0200 @@ -0,0 +1,11 @@ +import rootReducer from '../reducers'; +import {createStore} from 'redux'; +import Immutable from 'immutable'; + +const storeInitialState = Immutable.Map({ + notes: Immutable.List([]) +}); + +export default (initialState = storeInitialState) => { + return createStore(rootReducer, initialState); +};