{"action":"created","issue":{"url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/87","labels_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/87/comments","events_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/87/events","html_url":"https://github.com/aksonov/react-native-router-flux/issues/87","id":123238278,"number":87,"title":"routeReducer not working properly","user":{"login":"lesniakania","id":193863,"avatar_url":"https://avatars.githubusercontent.com/u/193863?v=3","gravatar_id":"","url":"https://api.github.com/users/lesniakania","html_url":"https://github.com/lesniakania","followers_url":"https://api.github.com/users/lesniakania/followers","following_url":"https://api.github.com/users/lesniakania/following{/other_user}","gists_url":"https://api.github.com/users/lesniakania/gists{/gist_id}","starred_url":"https://api.github.com/users/lesniakania/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesniakania/subscriptions","organizations_url":"https://api.github.com/users/lesniakania/orgs","repos_url":"https://api.github.com/users/lesniakania/repos","events_url":"https://api.github.com/users/lesniakania/events{/privacy}","received_events_url":"https://api.github.com/users/lesniakania/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-12-21T09:16:57Z","updated_at":"2016-01-04T11:43:01Z","closed_at":null,"body":"I'm using `react-native-router-flux` with `redux`.\r\nI try to implement simple route change - from the list to the specific view of the list item.\r\nI've already did similar thing using `react` (not `native` one) and I learned than that every route change is done dispatching the action. Selecting the state is done in `select` method which selects particular item from general state.\r\nBut if you don't have params in state it's impossible to choose particular item in detailed container.\r\nThat's why I think something is wrong in `routeReducer` or dispatching routing actions in `react-native-router-flux`, cause there is no params in state.\r\n\r\nI'm dispatching route change according to the documentation:\r\n\r\n```\r\n<TouchableHighlight onPress={() => Actions.edit_question({id: question.id })}>\r\n// ...\r\n</TouchableHighlight>\r\n```\r\n\r\nBut nothing changes in state:\r\n```\r\n{ routing: { changeId: 1, path: undefined, state: undefined, replace: false } }\r\n```\r\n\r\nHere is working component using not native `react` and `redux`:\r\nhttps://github.com/lesniakania/oceny-frontend/blob/master/src/components/SubmissionPage.js\r\n\r\nMy `package.json` for this project:\r\n```\r\n{\r\n  \"name\": \"MyProject\",\r\n  \"version\": \"0.0.1\",\r\n  \"private\": true,\r\n  \"scripts\": {\r\n    \"start\": \"react-native start\"\r\n  },\r\n  \"dependencies\": {\r\n    \"react-native\": \"0.17.0\",\r\n    \"react-native-router-flux\": \"^1.0.9\",\r\n    \"react-redux\": \"3.0.0\",\r\n    \"redux\": \"3.0.3\",\r\n    \"redux-simple-router\": \"^1.0.1\",\r\n    \"redux-thunk\": \"1.0.0\"\r\n  }\r\n}\r\n```\r\n\r\nCan you help me : ]?"},"comment":{"url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/comments/168654272","html_url":"https://github.com/aksonov/react-native-router-flux/issues/87#issuecomment-168654272","issue_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/87","id":168654272,"user":{"login":"aksonov","id":1321329,"avatar_url":"https://avatars.githubusercontent.com/u/1321329?v=3","gravatar_id":"","url":"https://api.github.com/users/aksonov","html_url":"https://github.com/aksonov","followers_url":"https://api.github.com/users/aksonov/followers","following_url":"https://api.github.com/users/aksonov/following{/other_user}","gists_url":"https://api.github.com/users/aksonov/gists{/gist_id}","starred_url":"https://api.github.com/users/aksonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aksonov/subscriptions","organizations_url":"https://api.github.com/users/aksonov/orgs","repos_url":"https://api.github.com/users/aksonov/repos","events_url":"https://api.github.com/users/aksonov/events{/privacy}","received_events_url":"https://api.github.com/users/aksonov/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T11:43:01Z","updated_at":"2016-01-04T11:43:01Z","body":"Okey, now with 2.0, you could implement your own Router delegate to manage state/UI - check ExRouter for reference - it uses simple onPush/onPop props with exNavigator UI. You may use your own UI that fires own Redux push/pop/replace actions - and you could check current router/route using Actions.currentRouter and Actions.currentRouter.currentRoute"}}