{"action":"created","issue":{"url":"https://api.github.com/repos/bakery/react-native-navigation-redux-helpers/issues/8","repository_url":"https://api.github.com/repos/bakery/react-native-navigation-redux-helpers","labels_url":"https://api.github.com/repos/bakery/react-native-navigation-redux-helpers/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/bakery/react-native-navigation-redux-helpers/issues/8/comments","events_url":"https://api.github.com/repos/bakery/react-native-navigation-redux-helpers/issues/8/events","html_url":"https://github.com/bakery/react-native-navigation-redux-helpers/issues/8","id":191153221,"number":8,"title":"What is the purpose of key: 'global' inside InitialState ?","user":{"login":"alexicum","id":18627753,"avatar_url":"https://avatars.githubusercontent.com/u/18627753?v=3","gravatar_id":"","url":"https://api.github.com/users/alexicum","html_url":"https://github.com/alexicum","followers_url":"https://api.github.com/users/alexicum/followers","following_url":"https://api.github.com/users/alexicum/following{/other_user}","gists_url":"https://api.github.com/users/alexicum/gists{/gist_id}","starred_url":"https://api.github.com/users/alexicum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexicum/subscriptions","organizations_url":"https://api.github.com/users/alexicum/orgs","repos_url":"https://api.github.com/users/alexicum/repos","events_url":"https://api.github.com/users/alexicum/events{/privacy}","received_events_url":"https://api.github.com/users/alexicum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-22T23:28:27Z","updated_at":"2016-11-23T11:22:27Z","closed_at":null,"body":"Help me please to understand.\r\nAs I see we should always pass **this.props.navigation.key** into every action.\r\n\r\nBut it is needed only for check in isActionPotentiallyApplicable(...)\r\nno one action in StateUtils(NavigationStateUtils) need it.\r\n\r\nThe same is for:\r\nInitialState  {key: 'global'} - it seems only needed for compatibility with isActionPotentiallyApplicable(...) ?"},"comment":{"url":"https://api.github.com/repos/bakery/react-native-navigation-redux-helpers/issues/comments/262488958","html_url":"https://github.com/bakery/react-native-navigation-redux-helpers/issues/8#issuecomment-262488958","issue_url":"https://api.github.com/repos/bakery/react-native-navigation-redux-helpers/issues/8","id":262488958,"user":{"login":"callmephilip","id":492025,"avatar_url":"https://avatars.githubusercontent.com/u/492025?v=3","gravatar_id":"","url":"https://api.github.com/users/callmephilip","html_url":"https://github.com/callmephilip","followers_url":"https://api.github.com/users/callmephilip/followers","following_url":"https://api.github.com/users/callmephilip/following{/other_user}","gists_url":"https://api.github.com/users/callmephilip/gists{/gist_id}","starred_url":"https://api.github.com/users/callmephilip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callmephilip/subscriptions","organizations_url":"https://api.github.com/users/callmephilip/orgs","repos_url":"https://api.github.com/users/callmephilip/repos","events_url":"https://api.github.com/users/callmephilip/events{/privacy}","received_events_url":"https://api.github.com/users/callmephilip/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T11:22:27Z","updated_at":"2016-11-23T11:22:27Z","body":"All the reducers provided by react-native-navigation-redux-helpers (on top of React Native navigation) are scoped using *key* prop. The reason for this is that you might have multiple reducers responsible for isolated parts of navigation in your app and so to prevent then clashing with each other (i.e. both reducers processing an action at the same time) all the actions arrive with that scope identifier and are then checked to see if they apply to a specific reducer."}}
{"actor":{"display_login":"callmephilip"}}