{"action":"created","issue":{"url":"https://api.github.com/repos/inProgress-team/react-native-meteor/issues/117","repository_url":"https://api.github.com/repos/inProgress-team/react-native-meteor","labels_url":"https://api.github.com/repos/inProgress-team/react-native-meteor/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/inProgress-team/react-native-meteor/issues/117/comments","events_url":"https://api.github.com/repos/inProgress-team/react-native-meteor/issues/117/events","html_url":"https://github.com/inProgress-team/react-native-meteor/issues/117","id":170170936,"number":117,"title":"cannot get data on componentDidMount in 1.0.0-rc14","user":{"login":"radiegtya","id":2161622,"avatar_url":"https://avatars.githubusercontent.com/u/2161622?v=3","gravatar_id":"","url":"https://api.github.com/users/radiegtya","html_url":"https://github.com/radiegtya","followers_url":"https://api.github.com/users/radiegtya/followers","following_url":"https://api.github.com/users/radiegtya/following{/other_user}","gists_url":"https://api.github.com/users/radiegtya/gists{/gist_id}","starred_url":"https://api.github.com/users/radiegtya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radiegtya/subscriptions","organizations_url":"https://api.github.com/users/radiegtya/orgs","repos_url":"https://api.github.com/users/radiegtya/repos","events_url":"https://api.github.com/users/radiegtya/events{/privacy}","received_events_url":"https://api.github.com/users/radiegtya/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-09T13:49:29Z","updated_at":"2016-08-15T20:09:17Z","closed_at":"2016-08-15T19:53:01Z","body":"here is my code:\r\n```\r\n  getMeteorData(){\r\n    const handler = Meteor.subscribe('vm');\r\n    const vms = Meteor.collection('vm').find();\r\n\r\n    return {\r\n      ready: handler.ready(),\r\n      vms: vms\r\n    }\r\n  }\r\n\r\n  componentDidMount(){\r\n    const {ready, vms} = this.data;\r\n    \r\n    //THIS IS NEVER READY OR ALWAYS RETURN FALSE, AND NOT REACTIVELY CHANGED\r\n    if(ready){ \r\n      console.log('did mount')\r\n      console.log(vms); // <--- SO THIS ONE NEVER BEING ABLE TO BE CALLED\r\n    }\r\n  }\r\n```"},"comment":{"url":"https://api.github.com/repos/inProgress-team/react-native-meteor/issues/comments/239913826","html_url":"https://github.com/inProgress-team/react-native-meteor/issues/117#issuecomment-239913826","issue_url":"https://api.github.com/repos/inProgress-team/react-native-meteor/issues/117","id":239913826,"user":{"login":"grsabreu","id":1283200,"avatar_url":"https://avatars.githubusercontent.com/u/1283200?v=3","gravatar_id":"","url":"https://api.github.com/users/grsabreu","html_url":"https://github.com/grsabreu","followers_url":"https://api.github.com/users/grsabreu/followers","following_url":"https://api.github.com/users/grsabreu/following{/other_user}","gists_url":"https://api.github.com/users/grsabreu/gists{/gist_id}","starred_url":"https://api.github.com/users/grsabreu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grsabreu/subscriptions","organizations_url":"https://api.github.com/users/grsabreu/orgs","repos_url":"https://api.github.com/users/grsabreu/repos","events_url":"https://api.github.com/users/grsabreu/events{/privacy}","received_events_url":"https://api.github.com/users/grsabreu/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T20:09:17Z","updated_at":"2016-08-15T20:09:17Z","body":":+1: "}}
{"actor":{"display_login":"grsabreu"}}