{"action":"created","issue":{"url":"https://api.github.com/repos/rt2zz/redux-persist-immutable/issues/16","repository_url":"https://api.github.com/repos/rt2zz/redux-persist-immutable","labels_url":"https://api.github.com/repos/rt2zz/redux-persist-immutable/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/rt2zz/redux-persist-immutable/issues/16/comments","events_url":"https://api.github.com/repos/rt2zz/redux-persist-immutable/issues/16/events","html_url":"https://github.com/rt2zz/redux-persist-immutable/issues/16","id":188937518,"number":16,"title":"state.forEach is not a function","user":{"login":"xcarpentier","id":923036,"avatar_url":"https://avatars2.githubusercontent.com/u/923036?v=4","gravatar_id":"","url":"https://api.github.com/users/xcarpentier","html_url":"https://github.com/xcarpentier","followers_url":"https://api.github.com/users/xcarpentier/followers","following_url":"https://api.github.com/users/xcarpentier/following{/other_user}","gists_url":"https://api.github.com/users/xcarpentier/gists{/gist_id}","starred_url":"https://api.github.com/users/xcarpentier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xcarpentier/subscriptions","organizations_url":"https://api.github.com/users/xcarpentier/orgs","repos_url":"https://api.github.com/users/xcarpentier/repos","events_url":"https://api.github.com/users/xcarpentier/events{/privacy}","received_events_url":"https://api.github.com/users/xcarpentier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-12T22:05:04Z","updated_at":"2018-03-06T17:31:58Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\nI have this error: \r\n![simulator screen shot 12 nov 2016 23 01 30](https://cloud.githubusercontent.com/assets/923036/20242379/2e44f11a-a92c-11e6-8823-abf20ee1fbac.png)\r\n\r\nMy store is configure like that:\r\n```javascript\r\nimport { createStore, applyMiddleware } from 'redux';\r\nimport { persistStore, autoRehydrate } from 'redux-persist-immutable';\r\nimport { AsyncStorage } from 'react-native';\r\n\r\nimport createSagaMiddleware from 'redux-saga';\r\n\r\nimport middleware from 'Middlewares';\r\nimport reducers from 'Reducers';\r\nimport sagas from 'Sagas';\r\n\r\nconst sagaMiddleware = createSagaMiddleware();\r\n\r\nconst createStoreWithMiddleware = applyMiddleware(...middleware, sagaMiddleware)(createStore);\r\n\r\nconst configureStore = () => {\r\n  const store = autoRehydrate()(createStoreWithMiddleware)(reducers);\r\n  persistStore(store, { storage: AsyncStorage });\r\n  sagaMiddleware.run(sagas);\r\n  return store;\r\n};\r\n```\r\n\r\nMy reducer like that: \r\n```javascript\r\n/*\r\n * @providesModule UserReducer\r\n */\r\n\r\nimport Immutable from 'immutable';\r\n\r\nconst initialState = Immutable.Map({\r\n  id: null,\r\n  name: null,\r\n  email: null,\r\n});\r\n\r\nexport default function user(state = initialState, action) {\r\n  if (action.type === 'USER_FETCH_SUCCEEDED') {\r\n    return Immutable.Map({ ...state, ...action.user });\r\n  }\r\n  return state;\r\n}\r\n```\r\n\r\nDo you have any idea about this issue ?"},"comment":{"url":"https://api.github.com/repos/rt2zz/redux-persist-immutable/issues/comments/370862219","html_url":"https://github.com/rt2zz/redux-persist-immutable/issues/16#issuecomment-370862219","issue_url":"https://api.github.com/repos/rt2zz/redux-persist-immutable/issues/16","id":370862219,"user":{"login":"basitsattar","id":8505943,"avatar_url":"https://avatars3.githubusercontent.com/u/8505943?v=4","gravatar_id":"","url":"https://api.github.com/users/basitsattar","html_url":"https://github.com/basitsattar","followers_url":"https://api.github.com/users/basitsattar/followers","following_url":"https://api.github.com/users/basitsattar/following{/other_user}","gists_url":"https://api.github.com/users/basitsattar/gists{/gist_id}","starred_url":"https://api.github.com/users/basitsattar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basitsattar/subscriptions","organizations_url":"https://api.github.com/users/basitsattar/orgs","repos_url":"https://api.github.com/users/basitsattar/repos","events_url":"https://api.github.com/users/basitsattar/events{/privacy}","received_events_url":"https://api.github.com/users/basitsattar/received_events","type":"User","site_admin":false},"created_at":"2018-03-06T17:31:58Z","updated_at":"2018-03-06T17:31:58Z","author_association":"NONE","body":"Any update?"}}
{"actor":{"display_login":"basitsattar"}}