{"action":"created","issue":{"url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/71","labels_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/71/comments","events_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/71/events","html_url":"https://github.com/aksonov/react-native-router-flux/issues/71","id":122181336,"number":71,"title":"Passing data to nested routers","user":{"login":"emrosenf","id":425523,"avatar_url":"https://avatars.githubusercontent.com/u/425523?v=3","gravatar_id":"","url":"https://api.github.com/users/emrosenf","html_url":"https://github.com/emrosenf","followers_url":"https://api.github.com/users/emrosenf/followers","following_url":"https://api.github.com/users/emrosenf/following{/other_user}","gists_url":"https://api.github.com/users/emrosenf/gists{/gist_id}","starred_url":"https://api.github.com/users/emrosenf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emrosenf/subscriptions","organizations_url":"https://api.github.com/users/emrosenf/orgs","repos_url":"https://api.github.com/users/emrosenf/repos","events_url":"https://api.github.com/users/emrosenf/events{/privacy}","received_events_url":"https://api.github.com/users/emrosenf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"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},"milestone":{"url":"https://api.github.com/repos/aksonov/react-native-router-flux/milestones/1","html_url":"https://github.com/aksonov/react-native-router-flux/milestones/1.1","labels_url":"https://api.github.com/repos/aksonov/react-native-router-flux/milestones/1/labels","id":1460898,"number":1,"title":"1.1","description":"- new version with better tab bar support and popups\r\n- refactored code to separate Router/Route/Schema logic from presentation UI (exNavigator)","creator":{"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},"open_issues":6,"closed_issues":0,"state":"open","created_at":"2015-12-15T08:55:34Z","updated_at":"2015-12-18T21:05:56Z","due_on":"2016-01-10T23:00:00Z","closed_at":null},"comments":2,"created_at":"2015-12-15T02:52:12Z","updated_at":"2016-01-04T14:01:49Z","closed_at":null,"body":"I have this part of my router, pretty much straight out of the example. There are three levels of routers: the tab bar itself, the first tab, \"discover\", has it' own tab history, and then the modal tab, \"artist\".\r\n\r\n\r\n                <Route name=\"tabbar\">\r\n                    <Router footer={TabBar} showNavigationBar={false}>\r\n                        <Route name=\"discover\" schema=\"tab\" title=\"Discover\" >\r\n                            <Router>\r\n                                <Route name=\"discoverMain\" component={DiscoverPage} title=\"Discover Page\" />\r\n                                <Route name=\"artist\" schema=\"modal\">\r\n                                    <Router hideTabBar={true}>\r\n                                        <Route name=\"artistMain\" component={ArtistPage} title=\"Artist\" schema=\"modal\"/>\r\n                                    </Router>\r\n                                </Route>\r\n                            </Router>\r\n                        </Route>\r\n                        <Route name=\"tab4\" schema=\"tab\" title=\"Tab #2\" component={TabView} />\r\n                        <Route name=\"tab5\" schema=\"tab\" title=\"Tab #3\" component={TabView} />\r\n                    </Router>\r\n               </Route>\r\n\r\n\r\nSuppose I'm on the `DiscoverPage`, and I want to get to `ArtistPage`. I will call `Action.artist({data: obj})`, passing in some data. The Router's `push` function will be called twice: first for the \"artist\" route, and then for the \"artistMain\" route.\r\n\r\nThe problem is that the `data` will be attached to the props of the first route, and not the second. The result is that the `data` object is not attached to the `ArtistPage` component."},"comment":{"url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/comments/168684038","html_url":"https://github.com/aksonov/react-native-router-flux/issues/71#issuecomment-168684038","issue_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/71","id":168684038,"user":{"login":"andreasbhansen","id":1404793,"avatar_url":"https://avatars.githubusercontent.com/u/1404793?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasbhansen","html_url":"https://github.com/andreasbhansen","followers_url":"https://api.github.com/users/andreasbhansen/followers","following_url":"https://api.github.com/users/andreasbhansen/following{/other_user}","gists_url":"https://api.github.com/users/andreasbhansen/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasbhansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasbhansen/subscriptions","organizations_url":"https://api.github.com/users/andreasbhansen/orgs","repos_url":"https://api.github.com/users/andreasbhansen/repos","events_url":"https://api.github.com/users/andreasbhansen/events{/privacy}","received_events_url":"https://api.github.com/users/andreasbhansen/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T14:01:49Z","updated_at":"2016-01-04T14:01:49Z","body":"Any news on this, @aksonov ?"}}