{"action":"created","issue":{"url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/555","repository_url":"https://api.github.com/repos/aksonov/react-native-router-flux","labels_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/555/labels{/name}","comments_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/555/comments","events_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/555/events","html_url":"https://github.com/aksonov/react-native-router-flux/issues/555","id":149599975,"number":555,"title":"Problem with redux state and Switch after upgrading RN to v0.24","user":{"login":"zelphir","id":2644782,"avatar_url":"https://avatars.githubusercontent.com/u/2644782?v=3","gravatar_id":"","url":"https://api.github.com/users/zelphir","html_url":"https://github.com/zelphir","followers_url":"https://api.github.com/users/zelphir/followers","following_url":"https://api.github.com/users/zelphir/following{/other_user}","gists_url":"https://api.github.com/users/zelphir/gists{/gist_id}","starred_url":"https://api.github.com/users/zelphir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zelphir/subscriptions","organizations_url":"https://api.github.com/users/zelphir/orgs","repos_url":"https://api.github.com/users/zelphir/repos","events_url":"https://api.github.com/users/zelphir/events{/privacy}","received_events_url":"https://api.github.com/users/zelphir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-19T22:20:12Z","updated_at":"2016-04-20T02:17:55Z","closed_at":null,"body":"- react-native-router-flux v3.24.0\r\n- react-native v0.24.1\r\n\r\nAfter upgrading to RN v0.24 and the the latest RNRF something doesn't work very well using `Switch` and Redux. Everything was working fine with RN v0.22. I'm using the built-in reducer for the router.\r\n\r\nI have something like that\r\n```jsx\r\nconst selectorCheck = (auth) => {\r\n  if (auth && !auth.token) {\r\n    return 'isGuest'\r\n  }\r\n  return 'isAuthenticated'\r\n}\r\n```\r\nto switch from one group of scenes to the other if an `auth.token` is available.\r\n\r\n### Expected behaviour\r\nUsing the Redux debugger or a button to reset the state it should \"switch\" to the guest group of scenes (like it was doing with RN v0.22)\r\n\r\n### Actual behaviour\r\nDoesn't switch to the guest scene, the only way to do that is reloading the app using `cmd+R`\r\n\r\n### Steps to reproduce\r\n\r\n1. change the state in order to load the \"isAuthenticated\" group of scenes\r\n2. reset the state using the redux debugger or a button (tried both)\r\n\r\n\r\nThis is how my scenes look like:\r\n```jsx\r\nconst scenes = Actions.create(\r\n  <Scene key=\"modal\" component={ Modal } >\r\n    <Scene\r\n      key=\"root\"\r\n      tabs\r\n      component={ connect(({ auth }) => ({ auth }))(Switch) }\r\n      selector={ ({ auth }) => selectorCheck(auth) }\r\n    >\r\n      <Scene key=\"isGuest\" style={ bgColor('red', 'base') }>\r\n        <Scene key=\"launch\" component={ Launch } title=\"Launch\" initial />\r\n      </Scene>\r\n      <Scene key=\"isAuthenticated\">\r\n        <Scene key=\"onboarding\" component={ OnBoarding } title=\"OnBoarding\" initial />\r\n      </Scene>\r\n    </Scene>\r\n  </Scene>\r\n)\r\n```"},"comment":{"url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/comments/212214143","html_url":"https://github.com/aksonov/react-native-router-flux/issues/555#issuecomment-212214143","issue_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/555","id":212214143,"user":{"login":"ms88privat","id":6705521,"avatar_url":"https://avatars.githubusercontent.com/u/6705521?v=3","gravatar_id":"","url":"https://api.github.com/users/ms88privat","html_url":"https://github.com/ms88privat","followers_url":"https://api.github.com/users/ms88privat/followers","following_url":"https://api.github.com/users/ms88privat/following{/other_user}","gists_url":"https://api.github.com/users/ms88privat/gists{/gist_id}","starred_url":"https://api.github.com/users/ms88privat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ms88privat/subscriptions","organizations_url":"https://api.github.com/users/ms88privat/orgs","repos_url":"https://api.github.com/users/ms88privat/repos","events_url":"https://api.github.com/users/ms88privat/events{/privacy}","received_events_url":"https://api.github.com/users/ms88privat/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T02:17:55Z","updated_at":"2016-04-20T02:17:55Z","body":"@Olliepop where do I find it? I see no tag? Which of the branch is the correct one? Thanks"}}