{"action":"opened","issue":{"url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/296","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/296/labels{/name}","comments_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/296/comments","events_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/296/events","html_url":"https://github.com/aksonov/react-native-router-flux/issues/296","id":139371729,"number":296,"title":"Pop nested Router off main Router","user":{"login":"thngdude","id":1459102,"avatar_url":"https://avatars.githubusercontent.com/u/1459102?v=3","gravatar_id":"","url":"https://api.github.com/users/thngdude","html_url":"https://github.com/thngdude","followers_url":"https://api.github.com/users/thngdude/followers","following_url":"https://api.github.com/users/thngdude/following{/other_user}","gists_url":"https://api.github.com/users/thngdude/gists{/gist_id}","starred_url":"https://api.github.com/users/thngdude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thngdude/subscriptions","organizations_url":"https://api.github.com/users/thngdude/orgs","repos_url":"https://api.github.com/users/thngdude/repos","events_url":"https://api.github.com/users/thngdude/events{/privacy}","received_events_url":"https://api.github.com/users/thngdude/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-08T19:30:19Z","updated_at":"2016-03-08T19:30:19Z","closed_at":null,"body":"I'm trying to achieve a Navigator.popToRoute effect as follows:\r\n```\r\n<Router>\r\n\r\n  <Route hideNavBar={true} name=\"launch\" component={connect()(Launch)} initial={true}/>\r\n\r\n  <Route name=\"router1\" schema=\"default\" type=\"push\">\r\n    <Router hideNavBar={true}>\r\n      <Route hideNavBar={true} name=\"aRoute\" component={connect()(ARoute)} schema=\"default\" type=\"reset\"/>\r\n      <Route hideNavBar={true} name=\"bRoute\" component={connect()(BRoute)} schema=\"default\" type=\"push\"/>\r\n    </Router>\r\n  </Route>\r\n\r\n  <Route name=\"router2\" schema=\"default\" type=\"push\">        \r\n    <Router hideNavBar={true}>\r\n      <Route hideNavBar={true} name=\"cRoute\" component={connect()(CRoute)} schema=\"default\" type=\"push\"/>        \r\n      <Route hideNavBar={true} name=\"dRoute\" component={connect()(DRoute)} schema=\"default\" type=\"push\"/>\r\n    </Router>\r\n  </Route>\r\n</Router>\r\n```\r\n\r\nThe flow would be as follows:\r\n1) Actions.route('router1') from launch to push aRoute\r\n2) Actions.route('bRoute') from aRoute to push bRoute\r\n3) Actions.route('router2') from bRoute to push router2, which defaults to cRoute\r\n4) Actions.route('dRoute') from cRoute to push dRoute\r\n5) call Actions.currentRouter.parentRoute.parent.pop() to pop router2 and return to router1 (on bRoute)\r\n\r\n6) Once popped back to bRoute, I call Actions.route('router2') again, but I get the following error:\r\n\r\n**No current router is set**\r\n\r\nWould appreciate your advice whether this is the correct way to accomplish this popToRoute kind of effect, or if there is a better way to do so.\r\n\r\nThanks"}}