{"action":"closed","issue":{"url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/356","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/356/labels{/name}","comments_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/356/comments","events_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/356/events","html_url":"https://github.com/aksonov/react-native-router-flux/issues/356","id":142191546,"number":356,"title":"pass Router props to all Scenes","user":{"login":"rgovindji","id":251495,"avatar_url":"https://avatars.githubusercontent.com/u/251495?v=3","gravatar_id":"","url":"https://api.github.com/users/rgovindji","html_url":"https://github.com/rgovindji","followers_url":"https://api.github.com/users/rgovindji/followers","following_url":"https://api.github.com/users/rgovindji/following{/other_user}","gists_url":"https://api.github.com/users/rgovindji/gists{/gist_id}","starred_url":"https://api.github.com/users/rgovindji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgovindji/subscriptions","organizations_url":"https://api.github.com/users/rgovindji/orgs","repos_url":"https://api.github.com/users/rgovindji/repos","events_url":"https://api.github.com/users/rgovindji/events{/privacy}","received_events_url":"https://api.github.com/users/rgovindji/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-20T18:45:18Z","updated_at":"2016-03-21T17:11:07Z","closed_at":"2016-03-21T17:11:07Z","body":"I am using Relay with my project but when I try render a scene that contains my News Feed I get an undefined error saying the property hasn't been set. I define the Scene's and then I wrap the Router in a relay container which has a fragment for the NewsFeed page. If I don't use the Navigator then the newsfeed renders fine. Here's what I am trying below:\r\n\r\n```\r\nconst scenes = Actions.create(\r\n    <Scene key=\"modal\" component={Modal} >\r\n      <Scene key=\"root\" hideNavBar={true}>\r\n        <Scene key=\"NewsFeed\" component={NewsFeed} title=\"NewsFeed\" />\r\n        <Scene key=\"Login\" component={Login} title=\"Login\" />\r\n      </Scene>\r\n      <Scene key=\"error\" component={Error}/>\r\n    </Scene>\r\n);\r\n\r\nexport default class SampleApp extends Component {\r\n  render() {\r\n    return (\r\n       <Router scenes={scenes}/>\r\n    );\r\n  }\r\n}\r\n\r\nexport default Relay.createContainer(SampleApp, {\r\n  fragments: {\r\n    viewer: variables => Relay.QL`\r\n      fragment on Viewer {\r\n        id\r\n        ${NewsFeed.getFragment('feed')}\r\n      }\r\n    `,\r\n  },\r\n});\r\n```\r\n"}}