{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/1771","labels_url":"https://api.github.com/repos/facebook/react-native/issues/1771/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/1771/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/1771/events","html_url":"https://github.com/facebook/react-native/issues/1771","id":91608531,"number":1771,"title":"why  I can not do \"this.props.navigator.push\" in componentDidMount Function?","user":{"login":"vczero","id":6133685,"avatar_url":"https://avatars.githubusercontent.com/u/6133685?v=3","gravatar_id":"","url":"https://api.github.com/users/vczero","html_url":"https://github.com/vczero","followers_url":"https://api.github.com/users/vczero/followers","following_url":"https://api.github.com/users/vczero/following{/other_user}","gists_url":"https://api.github.com/users/vczero/gists{/gist_id}","starred_url":"https://api.github.com/users/vczero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vczero/subscriptions","organizations_url":"https://api.github.com/users/vczero/orgs","repos_url":"https://api.github.com/users/vczero/repos","events_url":"https://api.github.com/users/vczero/events{/privacy}","received_events_url":"https://api.github.com/users/vczero/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-28T15:19:20Z","updated_at":"2015-06-28T15:19:20Z","closed_at":null,"body":"why  I can not do \"this.props.navigator.push\" in componentDidMount Function?\r\nif I set a timeout, it works!\r\n\r\nvar _that = this;\r\nsetTimeout(function(){\r\n          _that.this.props.navigator.push({\r\n              title: \"首页\",\r\n             component: Index,\r\n             leftButtonTitle:\" \"\r\n          });\r\n }, 1000);"}}