{"action":"created","issue":{"url":"https://api.github.com/repos/indexiatech/redux-immutablejs/issues/12","labels_url":"https://api.github.com/repos/indexiatech/redux-immutablejs/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/indexiatech/redux-immutablejs/issues/12/comments","events_url":"https://api.github.com/repos/indexiatech/redux-immutablejs/issues/12/events","html_url":"https://github.com/indexiatech/redux-immutablejs/pull/12","id":107874715,"number":12,"title":"Map reducers to undefined for defaultState","user":{"login":"lsthornt","id":569689,"avatar_url":"https://avatars.githubusercontent.com/u/569689?v=3","gravatar_id":"","url":"https://api.github.com/users/lsthornt","html_url":"https://github.com/lsthornt","followers_url":"https://api.github.com/users/lsthornt/followers","following_url":"https://api.github.com/users/lsthornt/following{/other_user}","gists_url":"https://api.github.com/users/lsthornt/gists{/gist_id}","starred_url":"https://api.github.com/users/lsthornt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsthornt/subscriptions","organizations_url":"https://api.github.com/users/lsthornt/orgs","repos_url":"https://api.github.com/users/lsthornt/repos","events_url":"https://api.github.com/users/lsthornt/events{/privacy}","received_events_url":"https://api.github.com/users/lsthornt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-23T08:49:19Z","updated_at":"2015-10-04T11:14:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/indexiatech/redux-immutablejs/pulls/12","html_url":"https://github.com/indexiatech/redux-immutablejs/pull/12","diff_url":"https://github.com/indexiatech/redux-immutablejs/pull/12.diff","patch_url":"https://github.com/indexiatech/redux-immutablejs/pull/12.patch"},"body":"When calling `combineReducers`, we are iterating over the children an extra time to populate the `defaultState`. This leads to an initial reducer call where `action` is `undefined` – an annoying case to handle when expecting `action.type` to be defined everywhere!\r\n\r\nThis change maps the values in `defaultState` to `undefined` instead, bringing the functionality inline with [Redux's own behavior in `combineReducers`](https://github.com/rackt/redux/blob/master/src%2Futils%2FcombineReducers.js#L100)"},"comment":{"url":"https://api.github.com/repos/indexiatech/redux-immutablejs/issues/comments/145337132","html_url":"https://github.com/indexiatech/redux-immutablejs/pull/12#issuecomment-145337132","issue_url":"https://api.github.com/repos/indexiatech/redux-immutablejs/issues/12","id":145337132,"user":{"login":"owais","id":46186,"avatar_url":"https://avatars.githubusercontent.com/u/46186?v=3","gravatar_id":"","url":"https://api.github.com/users/owais","html_url":"https://github.com/owais","followers_url":"https://api.github.com/users/owais/followers","following_url":"https://api.github.com/users/owais/following{/other_user}","gists_url":"https://api.github.com/users/owais/gists{/gist_id}","starred_url":"https://api.github.com/users/owais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owais/subscriptions","organizations_url":"https://api.github.com/users/owais/orgs","repos_url":"https://api.github.com/users/owais/repos","events_url":"https://api.github.com/users/owais/events{/privacy}","received_events_url":"https://api.github.com/users/owais/received_events","type":"User","site_admin":false},"created_at":"2015-10-04T11:14:53Z","updated_at":"2015-10-04T11:14:53Z","body":"Even after using this branch, `redux-router` still seems to be incompatible. Looks like `combineReducers` does not pass down the state from `routerStateReducer`.\r\n\r\n```\r\nWarning: Failed propType: Required prop `location` was not specified in `RoutingContext`. Check the render method of `ReduxRouterContext`.\r\nWarning: Failed propType: Required prop `routes` was not specified in `RoutingContext`. Check the render method of `ReduxRouterContext`.\r\nWarning: Failed propType: Required prop `params` was not specified in `RoutingContext`. Check the render method of `ReduxRouterContext`.\r\nWarning: Failed propType: Required prop `components` was not specified in `RoutingContext`. Check the render method of `ReduxRouterContext`.\r\nWarning: Failed Context Types: Required child context `location` was not specified in `RoutingContext`. Check the render method of `ReduxRouterContext`.\r\n```"}}