likeListInitialState.js
365 Bytes
'use strict';
import Immutable, {List, Record} from 'immutable';
let item = new (Record({
postId: 0,
total: 0,
ptr: false,
isFetching: false,
error: null,
lastedTime: 0,
list: List(),
endReached: false,
}));
let InitialState = Record({
sid: -1,
items: List(),
item: item,
cleaned: false,
});
export default InitialState;