{"action":"closed","issue":{"url":"https://api.github.com/repos/WardGubbi/CookieClickerMeteor/issues/1","repository_url":"https://api.github.com/repos/WardGubbi/CookieClickerMeteor","labels_url":"https://api.github.com/repos/WardGubbi/CookieClickerMeteor/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/WardGubbi/CookieClickerMeteor/issues/1/comments","events_url":"https://api.github.com/repos/WardGubbi/CookieClickerMeteor/issues/1/events","html_url":"https://github.com/WardGubbi/CookieClickerMeteor/issues/1","id":136708657,"number":1,"title":"Don't use global subscriptions","user":{"login":"lukasvan3l","id":169870,"avatar_url":"https://avatars.githubusercontent.com/u/169870?v=3","gravatar_id":"","url":"https://api.github.com/users/lukasvan3l","html_url":"https://github.com/lukasvan3l","followers_url":"https://api.github.com/users/lukasvan3l/followers","following_url":"https://api.github.com/users/lukasvan3l/following{/other_user}","gists_url":"https://api.github.com/users/lukasvan3l/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasvan3l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasvan3l/subscriptions","organizations_url":"https://api.github.com/users/lukasvan3l/orgs","repos_url":"https://api.github.com/users/lukasvan3l/repos","events_url":"https://api.github.com/users/lukasvan3l/events{/privacy}","received_events_url":"https://api.github.com/users/lukasvan3l/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-26T14:12:19Z","updated_at":"2016-02-26T18:07:20Z","closed_at":"2016-02-26T18:07:20Z","body":"https://github.com/WardGubbi/CookieClickerMeteor/blob/master/client/boosterArray/boosterArray.js#L1\r\n\r\nPrefer a syntax where the subscription is only loaded when it's needed, like template based subscriptions.\r\n```\r\nTemplate.boosterArray.onCreated(() => {\r\n\tMeteor.subscribe('boosters');\r\n});\r\n```\r\n\r\nhttp://guide.meteor.com/data-loading.html#organizing-subscriptions\r\nhttps://kadira.io/academy/meteor-routing-guide/content/subscriptions-and-data-management/with-blaze"}}