{"action":"created","issue":{"url":"https://api.github.com/repos/jevakallio/redux-offline/issues/19","repository_url":"https://api.github.com/repos/jevakallio/redux-offline","labels_url":"https://api.github.com/repos/jevakallio/redux-offline/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/jevakallio/redux-offline/issues/19/comments","events_url":"https://api.github.com/repos/jevakallio/redux-offline/issues/19/events","html_url":"https://github.com/jevakallio/redux-offline/issues/19","id":217839224,"number":19,"title":"Passing combined reducer results in error / warning","user":{"login":"benlime","id":981344,"avatar_url":"https://avatars3.githubusercontent.com/u/981344?v=3","gravatar_id":"","url":"https://api.github.com/users/benlime","html_url":"https://github.com/benlime","followers_url":"https://api.github.com/users/benlime/followers","following_url":"https://api.github.com/users/benlime/following{/other_user}","gists_url":"https://api.github.com/users/benlime/gists{/gist_id}","starred_url":"https://api.github.com/users/benlime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benlime/subscriptions","organizations_url":"https://api.github.com/users/benlime/orgs","repos_url":"https://api.github.com/users/benlime/repos","events_url":"https://api.github.com/users/benlime/events{/privacy}","received_events_url":"https://api.github.com/users/benlime/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-03-29T10:58:33Z","updated_at":"2017-03-30T12:43:20Z","closed_at":null,"body":"Came around an issue, when passing a `rootReducer` which has been combined using `combineReducer` function from redux. Redux will raise a warning (or en error on react-native), stating that the key `offline`, which is added by the reducer enhancer function in `updater.js` is unexpected.\r\n\r\nWell it's the intended behaviour of `combinedReducer` to warn if there is an unexpected key added. I'm just wondering how to get around this? I'm now using my own implementation of combineReducer to prevent the (in react-native very annoying) error.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/981344/24451502/60667498-147f-11e7-8aa8-b8c77dffd96c.png)\r\n"},"comment":{"url":"https://api.github.com/repos/jevakallio/redux-offline/issues/comments/290398974","html_url":"https://github.com/jevakallio/redux-offline/issues/19#issuecomment-290398974","issue_url":"https://api.github.com/repos/jevakallio/redux-offline/issues/19","id":290398974,"user":{"login":"TheoMer","id":15969262,"avatar_url":"https://avatars1.githubusercontent.com/u/15969262?v=3","gravatar_id":"","url":"https://api.github.com/users/TheoMer","html_url":"https://github.com/TheoMer","followers_url":"https://api.github.com/users/TheoMer/followers","following_url":"https://api.github.com/users/TheoMer/following{/other_user}","gists_url":"https://api.github.com/users/TheoMer/gists{/gist_id}","starred_url":"https://api.github.com/users/TheoMer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheoMer/subscriptions","organizations_url":"https://api.github.com/users/TheoMer/orgs","repos_url":"https://api.github.com/users/TheoMer/repos","events_url":"https://api.github.com/users/TheoMer/events{/privacy}","received_events_url":"https://api.github.com/users/TheoMer/received_events","type":"User","site_admin":false},"created_at":"2017-03-30T12:43:20Z","updated_at":"2017-03-30T12:43:20Z","body":"@jevakallio As per my post here: https://github.com/jevakallio/redux-offline/issues/27, I think the error was generated due to a service worker not being defined in my development environment.\r\n\r\nOnce I deployed to production, which has a service worker defined in index,html, I no longer receive the `Unexpected key \"offline\"` message.\r\n\r\nSee in devTools [here](https://learn-redux.firebaseapp.com)"}}
{"actor":{"display_login":"TheoMer"}}